Some of these commands might be multithreadable, which could make them faster:
//arrays arrayIntersect insertAt (if there's a "only if unique" parameter) inAreaArray pushBack/pushBackUnique/append/set (multithreaded checking of the nested arrays) //positions selectBestPlaces (multithreaded sampling of random positions) findEmptyPosition findEmptyPositionReady isFlatEmpty //controls tvExpandAll tvSortAll tvSortByValueAll //misc lineIntersectsSurfaces (checking both lods at the same time? or maybe even breaking up the search line in full search mode, -1)
maybe near(est)XXX commands too?