View Single Post
  #4   Spotlight this post!  
Unread 27-02-2005, 00:14
Arrow250 Arrow250 is offline
Custom User Title.
AKA: Nate
#0250 (Dynamos)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2002
Location: Colonie, NY
Posts: 1
Arrow250 is an unknown quantity at this point
Re: Which is faster?

Well it will be different on every CPU, but to give you an idea, on x86 machines, it compiles down to 27 and 31 lines of ASM for #1 and #2 respectively. So basically, the first has few instructions at a lower level. Though that still may not give much indication as to how fast it will run on the IFI PIC's. Especially with all the variables and aliases involved in the operation.