Skip to content

Review pooling

Status: future discussion and measurement.

Goal

Check whether object reuse or targeted pre-pooling needs improvement without changing working behavior unnecessarily.

To do

  • [ ] Measure creation, reuse, reset and performance in relevant cases.
  • [ ] Discuss targeted pre-pooling or fixes where evidence shows a need.

The current pool creates objects when needed and reuses returned objects. No general pre-pooling step was found in the scripts. See enemy and item tests.