merge sort in python

后端 未结 3 1574
栀梦
栀梦 2021-02-06 19:26

basically I have a bunch of files containing domains. I\'ve sorted each individual file based on its TLD using .sort(key=func_that_returns_tld)

now that I\'ve done that

3条回答
  •  梦毁少年i
    2021-02-06 20:05

    Another option (again, only if all your data won't fit into memory) is to create a SQLite3 database and do the sorting there and write it to file after.

提交回复
热议问题