chicken-hackers
[Top][All Lists]
Advanced

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

[Chicken-hackers] srfi-13 %string-copy speedup


From: Jim Ursetto
Subject: [Chicken-hackers] srfi-13 %string-copy speedup
Date: Thu, 6 Mar 2008 12:52:05 -0600

Core hackers, consider the attached srfi-13 patch which speeds up %string-copy!
by using an inline C_substring_copy (something that I guess has been noted
and planned for a while).

I saw a 1.5x speedup when concatenating 1 million 1-byte strings and
a 10x speedup for concatenating 15 one-million-byte strings.

Speedwise, this brings string-concatenate up to par with string-append,
without the argument limit.

Attachment: srfi-13-copy.txt
Description: Text document


reply via email to

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