Re:Sorry, Digital Ad Exec, I Probably Don’t Want To Work For...
by evan_ on Saturday May 11, 2013 @11:15AM
(#5690836)
"Are you using a for loop here? Why not, I learned that for loops are basically the best loop, I don't want to pay for your $.each nonsense. And I want to see you use some switch statements over here too."
[ Parent
| on HN ]
Re:Sorry, Digital Ad Exec, I Probably Don’t Want To Work For...
by gregjor on Sunday May 12, 2013 @11:30AM
(#5694590)
Don't laugh. I worked on a multi-million dollar project that was derailed for a couple of weeks by an analyst who insisted that doing a bubble sort on unsorted results from an Oracle query would be faster than using a SQL ORDER BY. This was based on a half-remembered class that used bubble sort. Pointing out that bubble sort is usually given as an example of an expensive sort had no effect. Ultimately Oracle won, of course -- it's orders of magnitude faster. But many hours were wasted and tempers flared.
Re:Sorry, Digital Ad Exec, I Probably Don’t Want To Work For...
by JamesAcorn on Monday May 13, 2013 @02:39PM
(#5700544)
Just curious.. why didn't anyone run a quick benchmark of both methods?
Re:Sorry, Digital Ad Exec, I Probably Don’t Want To Work For...
by gregjor on Monday May 13, 2013 @03:39PM
(#5700930)
Project politics. We did run benchmarks and Oracle's ORDER BY clearly came out ahead, but the analyst espousing bubble sort was entrenched and dismissed all benchmarks as special cases.