News for hackers. Stuff that matters.
Re:Why should I have written ZeroMQ in C, not C++ (part II) by w0utert on Thursday August 30, 2012 @01:38PM (#4455762)
There's no such thing as 'O(n/2)', big-O notation is about worst-case complexity. O(n) means 'linear time in the number of elements', not 'n operations' or something.

But in practice, the amortized time complexity will indeed usually be half of the worst-case scenario when removing elements from a vector.

There are no comments on this comment yet.