4 ms·
The git add problem is because .git/index is rewritten from scratch each time a new change is staged. With a 100 mb index file, that takes as long as it takes t
by joeyh 15y ago
The git add problem is because .git/index is rewritten from scratch each time a new change is staged. With a 100 mb index file, that takes as long as it takes to write that much data to disk (cache). Much room for improvement here.
- Retric 15y agoWriting 100mb to disk should take around 4 seconds on a HDD and less on a SSD.