|
|
Warp nous apporta ses lumieres en ce 2007/11/01 14:40:
> Alain <ele### [at] netscapenet> wrote:
>> It's about 12 BITS per characters, on average, not BYTES! That's useing UTF8
>> encoding. About 16 BITS per characters if using UTF16 encoding.
>> UTF8 is only 7 BITS per characters if you stick to only standard ASCII
>> characters set, but it gets bigger if you also use extended ASCII or characters
>> from foreign alphabets.
>
> Except that if each single character is indeed garbage-collected, that
> requires quite a lot of memory per character (compared to the size of the
> character).
>
Garbage collection is BAAAAD!!!
Any implementation that permit you not to use that is GOOD.
I got hit real bad by garbage collection, ONCE! The programm was running realy
good, no bug at all, then is just stopped there, nothing at all was hapening,
the systemwas totaly unresponsive, uterly frozen, then it resumed after around
15 minutes. It was garbage collecting.
I changed the programm logic to prevent any future garbage collection.
--
Alain
-------------------------------------------------
You know you've been raytracing too long when you're starting to find these
quotes more unsettling than funny.
-- Alex McLeod a.k.a. Giant Robot Messiah
Post a reply to this message
|
|