This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Speed up find_transition


Jakub Jelinek wrote:
> The following patch speeds up find_transition.

Applied.


> BTW, shouldn't we for the 64-bit tables generate transitions till more than
> 2037 for all locales that are still changing DST?  Or teach glibc tz reader
> to grok the POSIX tz string stored at the end of TZif2 files and handle
> timer >= transitions[num_transitions - 1] specially (guess the env string
> should be parsed just lazily, because people will rarely query years above
> last transition)?

I think we should start supporting the tz string at some point.  Blindly
extending the range of the table means lots of wasted disk space and CPU
cycles.

-- 
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]