Why does Python not have any data structures that store data in sorted order?
25th June 2013
My answer to Why does Python not have any data structures that store data in sorted order? on Quora
The bisect module provides functions for achieving this using a python list as the underlying data structure: http://docs.python.org/2/library...
More recent articles
- Claude Fable is relentlessly proactive - 11th June 2026
- Initial impressions of Claude Fable 5 - 9th June 2026
- Running Python code in a sandbox with MicroPython and WASM - 6th June 2026