Object Pool module

About Monkey 2 Forums Monkey 2 Code Library Object Pool module

This topic contains 0 replies, has 1 voice, and was last updated by  regulark 1 month ago.

Viewing 1 post (of 1 total)
  • Author
  • #14854



    I made a module for the object pool pattern to help with things like particles. It can be found on GitHub here: https://github.com/seankarol/lunchbox-pool
    Everyone is welcome to use it how they feel fit.

    In my little demo there I hover around 30 FPS with 300,000 particles in the pool while I’m about 22 FPS with the same amount in a regular list. I’m curious how it plays out in a more proper project.

    Users who have liked this topic:

    • avatar
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.