Best way to sort 1M records in Python

前端 未结 11 1611
慢半拍i
慢半拍i 2020-12-05 08:41

I have a service that runs that takes a list of about 1,000,000 dictionaries and does the following

myHashTable = {}
myLists = { \'hits\':{}, \'misses\':{},          


        
11条回答
  •  失恋的感觉
    2020-12-05 09:38

    You may find this related answer from Guido: Sorting a million 32-bit integers in 2MB of RAM using Python

提交回复
热议问题