julienvillegas / libgdx.info-Shader-Shockwave

5 stars 2 forks source link

Don't annoy GC #2

Open JulienBe opened 5 years ago

JulienBe commented 5 years ago

https://github.com/julienvillegas/libgdx.info-Shader-Shockwave/blob/f139995adac7f5fcea3d301144f1d75260e49dff/core/src/com/mygdx/game/ShockWave.java#L91

I think that there is a new that shoudln't be there :smile_cat:

gderuki commented 1 year ago

Agreed, you could save lots of allocations by moving new to start()