Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] More efficient and space saving code

2004-12-11 by Dave VanHorn

At 07:26 AM 12/11/2004, Andrew Lim wrote:

>I guess the code that John suggested will work very well when more data is 
>needed to be tranfered.  Thanks guys.  :)

Yup, I was going to suggest the same thing.
Problem is, you're into a minimum of four instructions to set up the 
pointers, then one instr per byte.  For speed, straightline the code and 
don't use a loop. Don't forget the time you spend setting up the loop, and 
checking if you're done every time, is significant in a short loop.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.