guile-user
[Top][All Lists]
Advanced

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

Re: wikid 0.6


From: Rob Browning
Subject: Re: wikid 0.6
Date: Mon, 17 Sep 2001 13:44:51 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7

Thien-Thi Nguyen <address@hidden> writes:

> thanks for the tip!  i'll incorporate this approach after instrumenting
> the code to be able to measure before/after performance.

Another thing to consider is the srfi-13 routines.  If you know you
have a flat list of strings, you can use string-concatenate or
string-concatenate-reverse, and if I recall correctly, the guile
versions were written to handle this in an *extremely* efficient
fashion, basically one traversal of the list to get the total length,
one malloc, then a set of memmoves.

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD



reply via email to

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