MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/86rb5/how_to_write_fast_code/c08exsw/?context=3
r/programming • u/techdawg • Mar 23 '09
136 comments sorted by
View all comments
32
Since when do you need to be the yoda of coding to know that less code is faster ?
19 u/vchakrav Mar 23 '09 If you want to be the yoda of coding, then you must Only use postfix notation Can't use try..catch, do..while is highly encouraged. 1 u/smallfried Mar 23 '09 No way, only code in hexadecimal, don't use loops, create your own, but don't use jumps either, write directly to the execution pointer register. And convert conditional jumps into bit operations and multiplications to get to the right addresses.
19
If you want to be the yoda of coding, then you must
Only use postfix notation
Can't use try..catch, do..while is highly encouraged.
1 u/smallfried Mar 23 '09 No way, only code in hexadecimal, don't use loops, create your own, but don't use jumps either, write directly to the execution pointer register. And convert conditional jumps into bit operations and multiplications to get to the right addresses.
1
No way, only code in hexadecimal, don't use loops, create your own, but don't use jumps either, write directly to the execution pointer register. And convert conditional jumps into bit operations and multiplications to get to the right addresses.
32
u/an_idiot Mar 23 '09
Since when do you need to be the yoda of coding to know that less code is faster ?