Blender Git Commit Log
Git Commits -> Revision 7acb7cb
Revision 7acb7cb by Bastien Montagne (master) January 21, 2014, 14:50 (GMT) |
Replace XOR swapping by default ("naive", with extra var) one. Ref: http://en.wikipedia.org/wiki/XOR_swap_algorithm, modern compilers/CPUs are much more efficient with "naive" algo than XOR one. Doubled check, for me in an optimized build, XOR is several times slower than naive algo. |
Commit Details:
Full Hash: 7acb7cb8975d113a26be4e78f4eb7646192b2ea0
Parent Commit: 7198eee
Lines Changed: +6, -10