Quick optimization we could make; we were checking if one polygon was the child of another polygon. We were doing this for contour parallel tool paths. These tool paths have one property we can exploit, the polygons are never intersecting. A logical consequence from this property is that if one point of the child polygon is inside the parent polygon then all points are inside.
The child-parent check is simplified by chekcing a single point.
Other commit(s) simplified the code and resolved some remaining bugs
Main performance improvement was done here: https://github.com/Ultimaker/CuraEngine/pull/2001/commits/afab09646ac0f97d8cb4542e4bb6c4e15c30d6e4. From commit message why this improves tihngs:
Other commit(s) simplified the code and resolved some remaining bugs
CURA-11352