flixel
flixel copied to clipboard
Performance issue in BitmapFrontEnd
Noticed this while looking into some slow procgen graphics.
https://github.com/HaxeFlixel/flixel/blob/c302aaafb846edf42ce2e431e3bf6b492d03b558/flixel/system/frontEnds/BitmapFrontEnd.hx#L195-L198
This will be ultra slow because map iteration in haxe is very slow and causes a lot of memory allocations. A two way map would be far preferable. This will be an issue if you do anything where you do pixels = pixels every frame for updating the frame of procgen graphics.