]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* time/tzfile.c (find_transition): Instead of a linear search try to
authorUlrich Drepper <drepper@redhat.com>
Mon, 5 Mar 2007 19:32:39 +0000 (19:32 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 5 Mar 2007 19:32:39 +0000 (19:32 +0000)
guess the transition index, use a linear search if the result is at
most 10 transitions away from the guess or binary search otherwise.

ChangeLog

index 3211c5195912ad2ecc2a6b0d5647540086e1111f..59b40ef3cba55e9e09d532a529c1e6a74bdffb91 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-02-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * time/tzfile.c (find_transition): Instead of a linear search try to
+       guess the transition index, use a linear search if the result is at
+       most 10 transitions away from the guess or binary search otherwise.
+
 2007-02-27  Jakub Jelinek  <jakub@redhat.com>
 
        * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix