[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Raise error on construction of too large vecto
[Chicken-hackers] [PATCH] Raise error on construction of too large vectors/blobs
Sun, 4 Mar 2012 10:36:35 +0100
the attached patch raises an error when one tries to create too
large vectors or blobs. Before a out of range error message has
been raised, which can be a bit confusing (at least to me). Also
this patch adjusts the check to the respective srfi-4 maximum values.
A small section in the srfi-4 manual has been added to explain these
limits (they were not obvious to me).
Tests have been added to verify the existance of these limits.
This patch needs to be tested on a 64bit system, as I don't have
access to one atm.
The discussion has been triggered by bug #794.
Who can (make) the muddy water (clear)? Let it be still, and it will
gradually become clear. Who can secure the condition of rest? Let
movement go on, and the condition of rest will gradually arise.
-- Lao Tse.
Description: Text document
- [Chicken-hackers] [PATCH] Raise error on construction of too large vectors/blobs,
Christian Kellermann <=