Re:Who Killed the Junior Developer?
by thaumasiotes on Wednesday February 14, 2018 @03:27AM
(#16374361)
> Sorting the entire array when I ask you for the top N elements! Getting the top handful of elements is a linear-time operation, people!
Unlike your other points, this one seems unlikely to cause any trouble in practice. From a polynomial-order perspective, a factor of log N is literally infinitesimal, essentially free.
Unlike your other points, this one seems unlikely to cause any trouble in practice. From a polynomial-order perspective, a factor of log N is literally infinitesimal, essentially free.