Y
Hacker News
new
|
ask
|
show
|
jobs
by
michaelfairley
4862 days ago
You can also follow the letter in C, Java, etc.:
a ^= b b ^= a a ^= b
1 comments
jervisfm
4861 days ago
What does that do?
link
steveklabnik
4861 days ago
http://en.wikipedia.org/wiki/XOR_swap_algorithm
link
jervisfm
4861 days ago
Thanks for the pointer.
link