MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: value bytes of error codes



Followup to:  <96Mar29.104537pdt.19565@silk.parc.xerox.com>
By author:    Pavel Curtis <pavel@parc.xerox.com>
In newsgroup: local.moo
> 
> 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.
> 

If you do, you should probably also add the overhead added by the
memory manager (arena pointer + reference count = 8 bytes?) for
strings, floats and lists as well as list heads...

	-hpa
-- 
PGP public key available - finger hpa@zytor.com
"The earth is but one country, and mankind its citizens."  --  Bahá'u'lláh
GE/CS 3.1 d- s-:- a- C++++ ULIS++++$ P+++ L++++>+++++ E++ W++ N++ o+ K
w--- O@ M V- PGP+ t+ 5++ X? R@ tv- b++ DI++++ D++(+) G e++ h- r-- y-


References:

Home | Subject Index | Thread Index