[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reader performance regression
From: |
Mike Gran |
Subject: |
Re: Reader performance regression |
Date: |
Sat, 30 Jan 2010 18:43:40 -0800 (PST) |
> From: Ludovic Courtès <address@hidden>
> Hello,
>
...
> IOW, ‘read’ performs badly.
>
> Commit 889975e51accb80491af76fc5db980aeb3edd342 may have been a
> performance regression as it did away with the optimization that
> consisted in using stack-allocated buffers in the common case, rather
> than heap-allocated temporaries [0, 1]. (Indeed, Guile-Reader, whose
> code is close to that of the pre-Unicode ‘scm_read ()’, is 1.4x faster
> than current ‘read’.)
>
> Mike: would you like to try to reintroduce that optimization? :-)
> What do you think?
I'll see what I can do.
Thanks,
Mike