Hi again,

This is not of critical importance as it relates to optimization;

I noticed that when using the following:

(loop for i of-type fixnum from 0 to 1000000 ...

for instance, the LOOP expansion once compiled in C is impressively
optimized, with inline addition and comparision of I.

However, with:

(loop repeat 1000000 ...

I see in the C code that it knows that the maximum value is a fixnum,
and it decreases from 1000000 to 0, but by using ecl_minus() etc.

I'm not familiar at all with the involved code, but I wanted to make
sure this was known in case it's the result of a minor compiler or loop
expansion issue, especially considering the recent compiler
improvements.

Thanks,
-- 
Matt

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to