[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)


The attached patch contains a fix to #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.

Attachment: 0001-Avoid-using-in-xsubstring-and-string-xcopy-since-srf.patch
Description: Text Data

reply via email to

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