MOO-cows Mailing List Archive


Re: value bytes of error codes

Judy Anderson writes:
>    Perhaps I will change the definition of value_bytes() to be more intuitive
>    in 1.8.0p3, by adding 8 to all values it returns.  Of course, I will also
>    make the corresponding change in object_bytes() to make sure no byte of
>    memory is double-charged.
> How would I modify the in-moo :object_bytes calculation?

You would remove the charge for (8 * (number of properties)), since that charge
is taken care of by the iteration over all property values.  You would also
change 8 for each clear property.


Home | Subject Index | Thread Index