Ultimaker/CuraEngine — pull request #31 by ounim (2013-10-03 10:54:07+00:00)
Title: Speed up scanbeam traversal

Scanbeam was a list of unique long kept sorted at each insertion.
Keeping it sorted is a O(n2) process.
This use a set instead where the process is O(nlog(n)).

On a huge model, I saw 10% speedup with this modification.