chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] string-substitute* slow?


From: felix winkelmann
Subject: Re: [Chicken-users] string-substitute* slow?
Date: Wed, 19 Apr 2006 12:25:10 +0200

On 4/19/06, Daishi Kato <address@hidden> wrote:
>
> Hm, I wonder why string-substitute and string-substitute*
> look so different; one uses an internal concatenate the other
> uses ##sys#fragments->string.

I have already cleaned this up a little (see darcs head).

> The other note I found: even if I put only one pair in smap,
> the time string-substitute* took is double the time
> string-substitute took.
> The count string-search-positions that I counted
> was also twice with string-substitute*.
>
> Does this help anyting?

Yes, the old code was simply suboptimal.


cheers,
felix




reply via email to

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