rev22/curve255js — pull request #2 by ryancdotorg (2014-05-04 15:56:05+00:00)
Title: c255lbigintcmp without Math.round, Math.abs

c255lbigintcmp is commented "...tricky to avoid code branching", but it uses Math.round and Math.abs, which could very well have branches in their implementation. We can replace that with bit operations, which will be faster and less branchy.