Skip to content
Snippets Groups Projects
Commit 26cde2c0e6bb authored by Dan Villiom Podlaski Christiansen's avatar Dan Villiom Podlaski Christiansen
Browse files

refs: use dulwich function for loading refs

Timing using the Tryton repository, with more than 9000 remote refs,
shows negligible differences, with performance regressing to
about 0.000960s from about 0.000820s. That is acceptable.

The comment which says it took way too long is probably based on the
fact that the old code didn't use `subkeys()`, and thus always loaded
all refs. As an added bonus, `subkey()` supports packed refs as well.
parent ea242a98be8d
No related branches found
No related tags found
1 merge request!201refs: use dulwich function for loading refs
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment