Hi Matt,

On Apr 19, 5:08 am, mattschinkel <[email protected]> wrote:
>
> > PS: I've also seen procedure_sd_read_512(), filling an array, index by
> > index ([0], [1], ...), resulting in 512 lines in the body. There sure must
> > be a reason, but I have to ask: why not using a loop ?
>
> Because it's faster. There is a constant in the sample for extra speed
> to use a non array loop. I think I made this a optional constant. Of
> course this uses much more program memory space.
>

You might want to consider a compromise -- don't unroll the entire
loop.  Try unrolling 8 bytes. You may find it is nearly as fast yet
save a bunch of code space.

William

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to