summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/Path.java
Commit message (Collapse)AuthorAgeLines
* Reduce default size of path array. Addresses BUKKIT-1469.Travis Watkins2012-05-31-1/+1
| | | | | | | | The Path object creates an array of 1024 PathPoint objects as the backing for a sorted queue but testing shows we tend to get only 80 or so entries in the array at most. To save memory this changes the default size of the array to 128. Changing it to 64 was considered but that triggered too many resizes which is detremental to performance.
* Add Path.java from mc-dev for diff visibilityTravis Watkins2012-05-31-0/+128