> Its been tuned over years for use in competitions. So it probably runs faster than the author's, even though it has more features.
For OP's use case, which appears to have a max depth of maybe 3, invoking a shell program is going to be a LOT slower than just running the search. No matter how slowly it is implemented.
Anecdotal, but as a non-smoker, I don't find any withdrawal or cravings symptoms at all when I stop consuming nicotine. It's milder than stopping caffeine.
Compared to e-cigs, sure. Compared to food, or conventional cigarettes ... they're really really cheap. 96 x2mg gums for $22 comes out to 45¢/mg. I use maybe 0-2 (edit: gums (90¢-$1.80)) a day (I probably save at least that much by making sandwiches for lunch / not eating out -- I work from home).
For non-smokers, less is more... nicotine is a pretty powerful stimulant, you don't necessarily want strong hits. My 2¢.
(I am a non-smoker; have tried 2mg and 4mg gum, and find 4mg similar in some ways to having a 'bad trip'. (Light-headedness, freaking out, nausea, time-dilation.))
Dexedrine is dextroamphetamine (commonly prescribed for ADD and other things, like staying awake). Methamphetamine is a different chemical with an important legal distinction (if subjectively and objectively very similar).
I don't think it would, actually. Enough people are willing to mine for a loss and the difficulty rises with availability of cheap hardware that it never becomes profitable. OP only made a (slight) profit because they could temporarily make renting a miner cheaper than the payout. This was temporary and now the market is back to status quo.
Maybe OP could automatically run his miners when such situations arrive, but I think it's unlikely to net anything like $17k/yr.
Edit: sliverstorm described this way better than I could.
Meth is only prescribed for ADHD in the US. Is it prescribed for ... nevermind, you edited your post. (Original said something to the effect of "meth is prescribed for drowsiness in pilots," which is inaccurate for the US.)
From his Nictotine article, gum or patch. But e-cig might be fine too if the parts don't have lead or other hazardous substances in them, modulo maybe higher risk of addiction.
This isn't quite right. Even if your average string length is 1k+, you shouldn't change the embedded string size to 1k+. I think these objects sit on the C stack internally, which doesn't handle large objects like this well.
Also, I would guess the performance gains (from skipping malloc) would wash out the longer your average string gets -- even if the huge stack use doesn't kill your performance for some other reason (blowing the d-cache?).
For OP's use case, which appears to have a max depth of maybe 3, invoking a shell program is going to be a LOT slower than just running the search. No matter how slowly it is implemented.