fast-import: use struct hash_table
- From
David Barr <david.barr@cordelta.com>
- Date
- Mar 31, 2011, 11:59 UTC
- Message-ID
- <1301572798-9973-1-git-send-email-david.barr@cordelta.com>
The current custom hash tables in fast-import.c do not grow. This causes poor performance for very large imports. Fortunately, we have struct hash_table and friends so there's no need to write cumbersome hash table growth code.
If anyone is interested, I think the hash API documentation could use an example or two.