re:Endless endianness annoyance

From: Pierre Lewis (lew@nortel.ca)
Date: Wed Dec 03 1997 - 12:16:00 EST


In message "Endless endianness annoyance",
'unicode@unicode.org' writes:

> Endian problems make me cranky, so I thought I would whine about and
> alert implementers to a problem I am facing now.

Same here.

> One of the more common performance techniques on Unix platforms is to
> memory map large files for read-only activities like searching free
> text. When memory mapping is used, the OS handles moving the data from
> disk to memory and it usually happens *very* fast.

How about just swapping the search string, when faced with
mixed endianness, and then swapping the hits back to what your
application uses?

Naively yours,
Pierre
lew@nortel.ca



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:38 EDT