From: Ulrich Drepper <drepper@redhat.com>
To: Jakub Jelinek <jakub@redhat.com>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: Re: [PATCH] Speed up find_transition
Date: Mon, 05 Mar 2007 19:45:00 -0000 [thread overview]
Message-ID: <45EC70C5.7050908@redhat.com> (raw)
In-Reply-To: <20070228134538.GC1826@sunsite.mff.cuni.cz>
[-- Attachment #1: Type: text/plain, Size: 747 bytes --]
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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]
prev parent reply other threads:[~2007-03-05 19:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-28 13:43 Jakub Jelinek
2007-03-05 19:45 ` Ulrich Drepper [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45EC70C5.7050908@redhat.com \
--to=drepper@redhat.com \
--cc=jakub@redhat.com \
--cc=libc-hacker@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).