[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Avoid using / in xsubstring and string-xcopy!,
From: |
Mario Domenech Goulart |
Subject: |
[Chicken-hackers] [PATCH] Avoid using / in xsubstring and string-xcopy!, since srfi-13 is compiled with (declare (fixnum)) |
Date: |
Thu, 28 Jun 2012 10:25:11 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) |
Hi,
The attached patch contains a fix to #869
(https://bugs.call-cc.org/ticket/869).
srfi-13.scm is compiled with (declare (fixnum)), but `xsubstring' and
`string-xcopy!' use / in a cond clause as a shorter path to avoid
calling `%multispan-repcopy!', which is more "expensive".
The patch just removes that shorter path, so the fixnum declaration can
be kept.
Best wishes.
Mario
--
http://parenteses.org/mario
0001-Avoid-using-in-xsubstring-and-string-xcopy-since-srf.patch
Description: Text Data
- [Chicken-hackers] [PATCH] Avoid using / in xsubstring and string-xcopy!, since srfi-13 is compiled with (declare (fixnum)),
Mario Domenech Goulart <=