[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] srfi-13 %string-copy speedup
From: |
Kon Lovett |
Subject: |
Re: [Chicken-hackers] srfi-13 %string-copy speedup |
Date: |
Thu, 6 Mar 2008 15:51:23 -0800 |
On Mar 6, 2008, at 10:52 AM, Jim Ursetto wrote:
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.<srfi-13-
copy.txt>_______________________________________________
Chicken-hackers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-hackers
Thank you, applied in chicken/trunk.
Best Wishes,
Kon