[Oberon] Python vs oberon: requirements to store 1 byte in memory

Hellwig Geisse hellwig.geisse at mni.thm.de
Wed Feb 9 00:23:54 CET 2022


Zdenek,

On Di, 2022-02-08 at 20:33 +0100, oberon-eth at email.cz wrote:
> Are you sure? When you have one long string than certainly you are right.
> But what if you allocate one hundred of strings of length say 10 bytes?
> total consumed size: 100 x 60 ???

you are of course right. As the smiley in my mail
was meant to indicate, this was a joke. The mean
ratio of total to usable bytes in general depends
on the probability distribution of the sizes of
the objects that are allocated.

Regards,
Hellwig


More information about the Oberon mailing list