From: Tanaka Akira Date: 2004-08-04T11:32:15+09:00 Subject: Re: GzipReader problem In article , "StephenSykes" writes: > The failing example is indeed interesting. My marshalled object is > 1.2Mb uncompressed. And Marshal uses over 90,000 reads requests to > read it. And nearly 40,000 of those requests are for 0 bytes. As reading marshal.c, it seems that read(0) is called with an empty string (""), an empty regexp (//) and a bignum zero (0x40000000.coerce(0)[0]). So I guess you have nearly 40,000 empty strings. Note that I don't think empty regexps and bignum zeros are used so frequently. -- Tanaka Akira