3 ms·
"some quick benchmarks for the way Sublime Merge reads git object files" is in not strong evidence.
by eeZah7Ux 8y ago
"some quick benchmarks for the way Sublime Merge reads git object files" is in not strong evidence.
- iainmerrick 8y agoI can’t tell what answer you’re looking for here. You said above that “mmap allows reading and writing large data structures without copying, which can be a huge benefit depending on the use case.” Yes, of course that’s true, and the Sublime Text authors are clearly well aware it’s true. That’s why they decided to use mmap in the first place. They agreed with you. This is them reporting, with hindsight, that for their use case mmap introduced a lot of tricky bugs that required complex platform-dependent fixes, and that the performance gains were real but modest. Therefore, in hindsight, it probably wasn’t a good choice. Which part are you arguing with?