Flash is usually more plentiful than RAM
Often the CRC is not the bottleneck (not this version anyway!)

Confirms my thought that Flash/Rom/Const lookup is going to be fine
unless you have a high end PIC (> 1K RAM) and  *REALLY* need a few
clocks more.


>
> Speed: a constant array lookup requires 9 clocks; a variable array lookup
> requires 5 clocks. Note that this assumes the variable array fits in a single
> bank which would not be true for a 256 entry array except on the 16 bit cores.
> Adding the split bank logic will require far more than 9 cycles.

> Finally, this smacks of pre-mature optimization. Unless you *know* the
> bottleneck is in the CRC routine, it's rather silly to spend any time
> optimizing it.
>
> --kyle

Thanks.

-- 
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