|
From: | anonymous |
Subject: | [Mldonkey-users] [patch #4510] IP: Save Memory by using chars instead of int |
Date: | Tue, 11 Oct 2005 21:14:55 +0000 |
User-agent: | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) |
Follow-up Comment #2, patch #4510 (project mldonkey): char's are supposed to be 8 bits, while int32's are atleast 32 and boxed for GC. http://caml.inria.fr/pub/docs/manual-ocaml/manual010.html http://caml.inria.fr/pub/docs/manual-ocaml/libref/Int32.html Maybe char's are the way to go even if ugly? It would be nice to have some statistics to see if the memory savings introduced by using chars truely outweighs the ugly (read: harder to maintain and read, more likely to introduce conversion bugs, ...) code. Needs to be well tested. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4510> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |