summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/Vec3DPool.java
Commit message (Collapse)AuthorAgeLines
* [Bleeding] Change Vec3DPool to a stack based poolMike Primm2012-08-19-9/+54
| | | | | | | Avoid overhead of using an ArrayList and resizing it. Also allows for reuse of objects in the pool during the same tick by explicitly releasing them back to the pool. This allows for much better cache performance as well as reduced cache footprint.
* Fix Vec3DPool; don't pool objects indefinitely or O(n^2) clear()Wesley Wolfe2012-08-05-6/+10
|
* Add Vec3DPool for diff visibilityWesley Wolfe2012-08-05-0/+53