]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Improve performance of grow_hash_table.
[wget] / src / ChangeLog
index 862c43ecb75d5af0608ecde80a744c98d0316176..1c078666e4af2d2ef9367bce7832bea6f0701f99 100644 (file)
@@ -1,3 +1,65 @@
+2001-04-14  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * url.c: Don't declare `construct'.
+
+       * hash.c (grow_hash_table): Speed up rehashing; inline storing of
+       mappings to new locations.
+       (hash_table_new): Make resize_threshold a field in the hash table,
+       so we don't have to recalculate it in each hash_table_put.
+       (grow_hash_table): Update resize_threshold.
+       (MAX): Remove unused macro.
+       (prime_size): Made static.
+
+2001-04-14  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * retr.c (retrieve_url): Call uri_merge, not url_concat.
+
+       * html-url.c (collect_tags_mapper): Call uri_merge, not
+       url_concat.
+
+       * url.c (mkstruct): Use encode_string instead of xstrdup followed
+       by URL_CLEANSE.
+       (path_simplify_with_kludge): Deleted.
+       (contains_unsafe): Deleted.
+       (construct): Renamed to uri_merge_1.
+       (url_concat): Renamed to uri_merge.
+
+2001-04-13  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * url.c (str_url): Use encode_string instead of the unnecessary
+       CLEANDUP.
+       (encode_string_maybe): New function, returns input string if no
+       encoding is needed.
+       (encode_string): Call encode_string_maybe to do the dirty work,
+       xstrdup if no work needed.
+
+2001-04-13  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * wget.h (XDIGIT_TO_xchar): Define here.
+
+       * url.c (decode_string): Use new name.
+       (encode_string): Ditto.
+
+       * http.c (XDIGIT_TO_xchar): Rename HEXD2asc to XDIGIT_TO_xchar.
+       (dump_hash): Use new name.
+
+       * wget.h: Rename ASC2HEXD and HEXD2ASC to XCHAR_TO_XDIGIT and
+       XDIGIT_TO_XCHAR respectively.
+
+2001-04-13  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * init.c: Include cookies.h.
+
+       * cookies.h: Declare cookies_cleanup.
+
+       * cookies.c (check_domain_match): Remove unused variable.
+       (save_cookies): Remove extraneous argument from debug statement.
+
+       * host.c (same_host): Don't call skip_url.
+
+       * url.c (skip_url): Removed.  Removed its calls from various
+       functions in url.c.
+
 2001-04-13  Hrvoje Niksic  <hniksic@arsdigita.com>
 
        * cookies.c (unsigned_string_hash): Use the new code in