|
From: Sam S. <sd...@gn...> - 2003-02-28 16:14:09
|
> * In message <9F8...@G8...> > * On the subject of "[clisp-list] parse-integer slowdown & make-string /= make-array of 'character" > * Sent on Wed, 26 Feb 2003 16:05:10 +0100 > * Honorable "Hoehle, Joerg-Cyril" <Joe...@t-...> writes: > > It also appears that MAKE-STRING is very different from MAKE-ARRAY > :element-type 'character. Using strings from MAKE-STRING is fast with > PARSE-INTEGER, while strings from MAKE-ARRAY exhibit the tremendous slowdown. On 2002-05-22 Bruno introduced mutable small strings. This means that whenever you parse a string, you call unpack_sstring_alloca(), which involves a copy_16bit_32bit() or copy_8bit_32bit() call for a "small string" (8-bit or 16-bit). It appears that we need to eliminate all calls to unpack_sstring_alloca() and replace them with SstringDispatch(), which does not carry the same overhead. -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html> A slave dreams not of Freedom, but of owning his own slaves. |