| ??? 05/22/02 22:24 Read: times |
#23286 - RE: circular buffers by pointers or index ? |
"I remember reading a comment that % is no good on microcontrollers coz it consumes lots of time"
Make the buffer length a power of two and the compiler will (if it is any good) use a shift instead. Erik |



