guile-devel
[Top][All Lists]
Advanced

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

Re: Locks and threads


From: Andy Wingo
Subject: Re: Locks and threads
Date: Mon, 16 Mar 2009 23:57:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

On Sat 14 Mar 2009 15:23, address@hidden (Ludovic Courtès) writes:

> Still, I would measure the impact on `module-define!' and `module-ref'
> because that's at least an additional function call.

You probably know, but at least in the VM (and I thought in the
interpreter too), the locations are computed once, and the resulting
variable is cached. So module-ref is not called repeatedly for the same
binding.

Andy
-- 
http://wingolog.org/




reply via email to

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