View Single Post
  #12   Spotlight this post!  
Unread 17-02-2013, 18:33
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: logic gates question

Quote:
Originally Posted by Greg McKaskle View Post
My testing showed that at least on Intel, the top one that used XOR was more efficient.
Sorry, my previous post made no sense since I forgot to attach the PNG it was referencing. It's attached now:

http://www.chiefdelphi.com/forums/sh...5&postcount=10

Quote:
I rewrote the other to use a case statement instead of a select and it was then the fastest. Selects tend to execute both the true and false and then select the appropriate one whereas case statements will only execute one or the other.
Interesting. Thanks.

Quote:
But at this level for toggle on a button on a joystick, we are in the weeds. Write what is readable.
I agree 100%. My questions here are purely academic.


Reply With Quote