Files
libgit2/tests/resources
Colin Stolley ad7a51d834 refs: Speed up packed lookups.
Currently ref lookups require loading the entire packed-refs file into
a hashmap in memory. For repos with large numbers of refs this can be
painfully slow.

This patch replaces the existing lookup code and instead mmap()'s the
packed-refs file and performs a binary search to locate the ref entry.
Git uses a similiar approach.

The old hash table codepath is still used for unsorted packed-refs files.

This patch also fixes a minor bug where the "peeled" trait is never
parsed correctly from the packed-refs header.
2021-12-14 10:07:03 -06:00
..
2013-11-14 14:05:52 -08:00
2013-11-14 14:05:52 -08:00
2013-11-14 14:05:52 -08:00
2014-04-14 16:16:22 +02:00
2021-09-09 21:51:52 +02:00
2013-11-14 14:05:52 -08:00
2013-11-14 14:05:52 -08:00
2013-11-14 14:05:52 -08:00
2013-11-14 14:05:52 -08:00
2013-11-14 14:05:52 -08:00
2013-11-14 14:05:52 -08:00
2013-11-14 14:05:52 -08:00
2013-11-14 14:05:52 -08:00
2021-12-14 10:07:03 -06:00
2013-11-14 14:05:52 -08:00
2015-11-02 13:47:04 +01:00
2021-05-12 20:42:25 -04:00
2013-11-14 14:05:52 -08:00
2013-11-14 14:05:52 -08:00
2016-02-28 18:54:56 -05:00
2013-11-14 14:05:52 -08:00
2013-11-14 14:05:52 -08:00
2021-12-14 10:07:03 -06:00
2013-11-14 14:05:52 -08:00
2013-11-14 14:05:52 -08:00
2013-11-14 14:05:52 -08:00
2013-11-14 14:05:52 -08:00