[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: High run time variance
From: |
Andy Wingo |
Subject: |
Re: High run time variance |
Date: |
Thu, 05 Aug 2010 19:43:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
On Thu 05 Aug 2010 18:21, Luca Saiu <address@hidden> writes:
> Andy Wingo wrote:
>> The toplevel references to bitvector-set! don't get cached, so the
>> bitvector-set! gets looked up every time, and there is some unfortunate
>> allocation in scm_from_locale_symboln. If you put it in a function,
>> the variable gets cached, and there's no allocation.
>
> So that was a corner case. Sorry for the noise.
Well, arguably it's still a bit stupid to be slow there, so it could be
our bug...
A
--
http://wingolog.org/