tgstation/-tg-station — pull request #4639 by RemieRichards (2014-09-01 23:20:12+00:00)
Title: /tg/station Atom/Movable Pool +Pooling of Emitter beams.

What it says on the tin.
Pools /atom/movable (and subtypes) rather than creating and deleting them.
(locked to /atom/movable as "loc" is a read only var on /atom, but is read&write on /atom/movable)

Currently used for:
- Emitter Projectiles (Credit @d3athrow for help debugging their process())

Usage:
where you would define a variable to equal a new typepath (loc) you instead set it to = PoolOrNew(typepath,loc)
Which will first attempt to grab something from the pool, and if that fails, will simply create the object normally, which can later on itself join the pool. This results in a dynamic pool of object which should reduce the number of created/delete objects that use the Pool.