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:44 -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-09-12 15:15:34 -07:00
2018-02-12 13:09:35 -08:00
2018-08-27 14:33:43 -07:00
2018-09-17 13:53:57 -07:00
2018-08-13 14:14:42 -07:00
2018-09-17 13:53:47 -07:00
2018-05-13 10:45:05 +09:00
2018-07-17 15:47:48 -07:00
2018-06-29 10:43:39 -07: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-13 14:14:42 -07:00
2018-08-29 11:32:49 -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-11-01 14:37:13 +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-07-18 12:20:28 -07:00
2018-06-01 15:06:37 +09:00
2018-08-29 11:32:49 -07:00
2018-07-24 10:19:29 -07:00
2018-08-23 10:08:51 -07:00
2018-09-17 13:53:57 -07:00
2018-08-13 14:14:43 -07:00
2018-05-23 14:38:15 +09:00
2018-05-16 11:42:03 +09:00
2018-07-20 15:38:54 -07:00
2018-07-16 14:27:39 -07:00
2018-08-29 11:32:49 -07:00
2018-09-17 13:53:57 -07:00
2018-05-16 11:42:03 +09:00
2018-05-16 11:42:03 +09:00
2018-08-20 15:31:39 -07:00
2018-05-30 14:04:05 +09:00
2018-06-29 10:43:39 -07:00
2018-07-18 12:20:28 -07:00
2018-09-24 10:30:45 -07:00
2018-08-20 15:31:40 -07:00
2018-04-12 11:38:56 +09:00
2018-08-14 12:29:57 -07:00
2018-08-15 15:08:23 -07:00
2018-09-17 13:53:57 -07:00
2018-08-27 14:33:43 -07:00
2018-09-17 13:53:56 -07:00
2018-08-17 13:09:56 -07:00
2018-04-26 12:28:43 +09:00
2018-09-24 10:30:47 -07:00
2018-07-18 12:20:28 -07:00
2018-09-24 10:30:52 -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-02 15:30:43 -07:00
2018-09-17 13:53:48 -07:00
2018-07-20 15:38:54 -07:00
2018-08-20 12:41: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-08-29 11:32:49 -07:00
2018-05-29 00:28:22 +09:00
2018-05-16 11:42:03 +09:00
2018-09-17 13:53:51 -07:00
2018-08-29 11:32:49 -07:00
2018-05-16 11:42:03 +09:00
2018-08-29 11:32:49 -07:00
2018-08-29 11:32:49 -07:00
2018-09-12 15:17:17 -07:00
2018-02-09 10:24:50 -08:00
2018-08-13 14:14:43 -07:00
2018-07-18 15:45:14 -07:00
2018-06-29 10:43:39 -07:00
2018-04-09 06:14:45 +09:00
2018-08-30 09:28:02 -07:00
2018-08-17 13:09:56 -07:00