[Ecls-list] AREF/SVREF/CHAR/SCHAR/ELT and signals

Matthew Mondor mm_lists at pulsar-zone.net
Fri Mar 18 19:26:26 UTC 2011


On Fri, 18 Mar 2011 14:42:04 -0400
Matthew Mondor <mm_lists at pulsar-zone.net> wrote:

> When I can, I'll then redo these tests on both SBCL and ECL using
> various safety levels to ensure that at level three boundary checks
> always be performed, and to list where at level 0 optimization could be
> improved.

Attached is the test CL code and the resulting C code with ECL.
So for the SVREF case indeed 0-1 safety levels allow better
optimization, and ecl_aref1() is used at higher levels.

I'm not sure if all levels for all functions yield ideal results,
but this allows to easily compare them...
-- 
Matt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: index.lisp
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110318/aa9d621f/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: index.c
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110318/aa9d621f/attachment.c>


More information about the ecl-devel mailing list