chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] Raise error on construction of too large v


From: John Cowan
Subject: Re: [Chicken-hackers] [PATCH] Raise error on construction of too large vectors/blobs
Date: Sun, 4 Mar 2012 13:40:49 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

Christian Kellermann scripsit:

> +SRFI-4 vectors internally are implemented with a maximum length of
> +0x3fffff '''bytes'''. 

That looks like the maximum *index* rather than the maximum *length*,
which should be greater by 1.
'
> +* All byte vectors have a maximum number of entries of 0xffffff

That number is greater than the above number.  How can that be?

-- 
Even a refrigerator can conform to the XML      John Cowan
Infoset, as long as it has a door sticker       address@hidden
saying "No information items inside".           http://www.ccil.org/~cowan
        --Eve Maler



reply via email to

[Prev in Thread] Current Thread [Next in Thread]