Class RegionOptimizedVectorSorter
java.lang.Object
com.sk89q.worldedit.internal.util.RegionOptimizedVectorSorter
Uses a radix sort to order vectors by region, then chunk, then Y value (max -> min).
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
sort
(boolean parallel, List<BlockVector3> vectors) For test purposes, or if you want to finely control when parallelism occurs.static void
sort
(List<BlockVector3> vectors)
-
Method Details
-
sort
-
sort
For test purposes, or if you want to finely control when parallelism occurs.vectors
must be mutable, and will be sorted after this method returns.- Parameters:
parallel
-true
to sort in parallelvectors
- the vectors to sort
-