3 ms·
Hopefully not just collection size, but also based on storage medium. You might want to sort stuff which is stored on disk or tape. Why should a standard librar
by amelius 5y ago
Hopefully not just collection size, but also based on storage medium. You might want to sort stuff which is stored on disk or tape. Why should a standard library only offer solutions for objects stored in memory?
- Waterluvian 5y agoThat seems like something you’d want the developer to handle. Not interested in leaking hardware details into the sort interface.
- amelius 5y agoYou want the sort interface to have call-backs for loading/writing stuff from/to disk. But most sort interfaces don't have this. They only support memory.