[Ecls-list] Status of pre-release
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Mon Mar 1 12:06:31 UTC 2010
On Mon, Mar 1, 2010 at 12:00 PM, Tobias C. Rittweiler <tcr at freebits.de> wrote:
> Juan Jose Garcia-Ripoll
> <juanjose.garciaripoll at googlemail.com> writes:
>> - I have committed about 40 patches that change error messages,
>
> How's @[foo::bar] different to @'foo::bar'?
The first one produces a fixnum with the location of the symbol in the
main symbol table, the second one produces a Common Lisp object
(cl_object) with a pointer to the symbol itself. The difference is
relevant on platforms in which computing the pointer to the object
results in a function call to locate the data segment. This means abot
5%-10% more time per function even if the pointer is not used! I know
this happens at least in OS X.
Juanoj
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
More information about the ecl-devel
mailing list