3 ms·
He forgot to "synchronize" his singleton and cache variables :-) Java: because it pays the bills, not because it's good. (TM) Seriously, I kinda knew what to
by Roboprog 16y ago
He forgot to "synchronize" his singleton and cache variables :-)
Java: because it pays the bills, not because it's good. (TM)
Seriously, I kinda knew what to expect when I waded into the article, BUT, his "punchline" at the end about actually learning the domain of the problem, and jumping in a completely different direction about a O(1) way to generate an approximation in some cases, rather than further crap-plating the "solution", was GOLD.