Files
git/builtin
Junio C Hamano e198b3a740 fetch: replace string-list used as a look-up table with a hashmap
In find_non_local_tags() helper function (used to implement the
"follow tags"), we use string_list_has_string() on two string lists
as a way to see if a refname has already been processed, etc.

All this code predates more modern in-core lookup API like hashmap;
replace them with two hashmaps and one string list---the hashmaps
are used for look-ups and the string list is to keep the order of
items in the returned result stable (which is the only single thing
hashmap does worse than lookups on string-list).

Similarly, get_ref_map() uses another string-list as a look-up table
for existing refs.  Replace it with a hashmap.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-11-01 14:37:13 +09:00
..
2018-09-24 10:30:51 -07:00
2018-09-17 13:53:57 -07:00
2018-08-13 14:14:43 -07:00
2018-08-20 11:33:53 -07:00
2018-09-17 13:53:52 -07:00
2018-08-20 11:33:53 -07:00
2018-08-27 14:33:43 -07:00
2018-09-17 13:53:57 -07:00
2018-05-13 10:45:05 +09:00
2018-09-17 13:53:58 -07:00
2018-08-15 15:08:23 -07:00
2018-08-20 15:31:40 -07:00
2018-08-29 11:32:49 -07:00
2018-08-29 11:32:49 -07:00
2018-05-08 15:59:16 +09:00
2018-09-17 13:53:57 -07:00
2018-08-20 15:31:40 -07:00
2018-08-20 15:31:40 -07:00
2018-08-20 11:33:53 -07:00
2018-06-01 15:06:37 +09:00
2018-09-17 13:53:57 -07:00
2018-05-23 14:38:15 +09:00
2018-09-17 13:53:57 -07:00
2018-05-30 14:04:05 +09:00
2018-07-18 12:20:28 -07:00
2018-08-20 15:31:40 -07:00
2018-09-17 13:53:57 -07:00
2018-08-27 14:33:43 -07:00
2018-07-18 12:20:28 -07:00
2018-09-17 13:53:55 -07:00
2018-08-29 11:32:49 -07:00
2018-08-06 13:22:34 -07:00
2018-08-29 11:32:49 -07:00
2018-08-27 14:33:43 -07:00
2018-03-15 12:01:08 -07:00
2018-08-17 13:09:56 -07:00
2018-05-29 00:28:22 +09:00
2018-08-29 11:32:49 -07:00