embed endian info in locale data files magic (PR231965)
Poul-Henning Kamp
phk at phk.freebsd.dk
Thu Oct 18 06:16:35 UTC 2018
--------
In message <CANCZdfpuUhJTxeUrEn1jrphSVaPqWw86Xm-e-rdX_mwC_kJO9w at mail.gmail.com>
, Warner Losh writes:
>> 3. Always store the data in LE (or BE, doesn't matter), and
>> appropriately convert while reading. This will likely require least
>> change.
>
>I like this.
The locale stuff can have a surprisingly large performance impact, so
it might be a good idea to run some benchmarks first.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-hackers
mailing list