thesmart/js-hypercube — pull request #2 by cwarden (2012-07-18 23:14:10+00:00)
Title: Optimize ps.array.intersect

Use an intersection algorithm optimized for sorted arrays of primitives.

I think this change is safe. Is it possible for the arguments to intersect, called from ps.Cube.prototype._getPos to be unsorted?