| ??? 05/24/02 08:44 Read: times |
#23369 - RE: circular buffers by pointers or inde |
On C programming indexes give mostly more compact and faster code.
There is only one special case to get advantages with pointers but only in assembler: If you need a very fast buffered UART interrupt, you can reserve an own register bank to this interrupt and use R0 as receive pointer and R1 as transmit pointer. Then you can work at baud rates of 115kbaud and more. Peter |



