News for hackers. Stuff that matters.
Re:Why is printing “B” dramatically slower than printing “#”... by heywire on Thursday September 08, 2016 @10:42AM (#12453421)
I wonder if this is also why the default terminal in Ubuntu slows to a crawl if you write a ~4kb long line (I was working on a program which was processing some SDR data, outputting 0/1 to the screen without any line breaks).
Re:Why is printing “B” dramatically slower than printing “#”... by mjevans on Thursday September 08, 2016 @02:09PM (#12455530)
Probably that or some other case of selecting an algorithm without consideration of the /worst possible/ performance cases.

It may be better to try a generally good algorithm first, then if it fails after X iterations to fall back to an algorithm with a better bound on the worst case.