ok, i see then that compression is mostly for transmission purpose.
Yes, and "compression" in this case includes UTF-8. Most text
processing systems store Unicode in memory as UTF-16. Some use
UTF-32, but that's a factor of two storage increase for not much gain
in simplicity. Unicode text processing inherently includes quite a
bit of complexity, next to which the handling of surrogate pairs
(which is how you get code points >65,535 into UTF-16) is not a big
deal.
i suppose also for sufficiently high volume of data because there is
a cost to compress/uncompress.
In-memory storage and processing are both sufficiently inexpensive
that compression is typically limited to external storage and,
especially, communication. Disk is cheap, bandwidth not so much.
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users