INADA Naoki <[email protected]> added the comment: > We are talking about a dictionary of 512 items in the worst case. On such > very tiny collection, benchmarking matters more than O(...) complexity ;-)
You're right. Rob Pike said: "Fancy algorithms are slow when n is small, and n is usually small." http://users.ece.utexas.edu/~adnan/pike.html ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue32338> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
