You are viewing a single comment's thread. Return to all comments →
Thanks. I starred your project.
Also I think "n & 1" is faster than "n % 2".
(Of course, if a compiler doesn't do the optimisation).
PS. Fix the link. It's broken.
Thanks for star. Fixed the link. You're right, n & 1 is probably faster.