58 ms·
While that technically may be a cpu bottleneck, I like to look at it as an implementation bottleneck. I can write a pong game that will be bottlenecked by any c
by squeaky-clean 10y ago
While that technically may be a cpu bottleneck, I like to look at it as an implementation bottleneck. I can write a pong game that will be bottlenecked by any cpu if I make it calculate a million digits of pi at the start of each game loop, but it doesn't mean my game is more hardcore than Crysis.
- MichaelGG 10y agoIt's obviously an implementation issue. The question is how do otherwise sane-appearing individuals end up writing code like that? How does it even pass a preliminary usage test? And so on. This wasn't some big enterprise, either.
- other_herbert 10y agoThat question haunts all of us... For instance... Lets say you need to query a db to get 4 known sets of things aggregated by other things... That should scream at you "in clause with the known params and group by" or.... if you take an approach I saw recently you spawn 4 worker threads each querying the same tables but with one of those 4 params then combining the records.... I'm afraid this board may constitute the remaining sane individuals... Edit those known params were all used as a param for the same column