ForNeVeR / O21

FOSS remake of U95, an old submarine arcade game from 1995.
MIT License
19 stars 9 forks source link

Bullets: use a persistent collection instead of a simple array #130

Open ForNeVeR opened 1 year ago

ForNeVeR commented 1 year ago

Currently, we use an array for GameEngine.Bullets which leads to the bullet array being recreated often.

This could be somewhat improved if we use a persistent collection such as a persistent vector instead.

See TODO[#130] in the code.