[mnet-devel] Re: [mnet-cvs]kb-scaled timeouts
Hauke Johannknecht
mnet at ash.de
Thu May 1 04:02:59 BST 2003
On Wed, 30 Apr 2003, Zooko wrote:
> Or how about just "byte = len(firstmsgbody)" ?
whats the way to make len return the total number of bytes all
the keys, values and things in the msgbody data structure use up?
(note: mencode happens _after_ we need to specify the timeout)
i know its ugly, but using pickle seemed to be the easiest way to
get a total size estimation for calculating the kb-scaling.
Gruss,
Hauke
--
Hauke Johannknecht Berlin / Germany HJ422-RIPE
Use PGP ! -> lynx -dump http://www.ash.de/ash.asc | pgp -kaf
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel
More information about the Mnet-devel
mailing list