<html><body>In a programming language python following code: sys.getsizeof('a') outputs 50 bytes of memory required for one character (!) while in oberon, procedures SIZEOF(CHAR) or Strings.Length("1") both give only 1 byte (as expected).<br><br>Note the ratio 50:1.<br>Imagine you would consume in your programm 1G of memory and it will all of sudden turn into 50G!<br><br>My question: is the ratio so huge because python is an interpreter language and the python function reports some data required for an interpreter to run <br>or is it just so big because of lack of an efficient python language implementation?<br><br>On the other hand, does oberon really report correctly all the data associated with CHAR type?<br>Isn't there any hidden memory being consumed without being reported by this oberon function?<br><div>Python reports size including overhead caused by garbage collector. <br></div><div>Is this the same case in oberon? Surely not, so what is the memory size required for oberon garbage collector to handle one CHAR?<br></div><br>Zdenek<br></body></html>