BlueEngine icon indicating copy to clipboard operation
BlueEngine copied to clipboard

optimize render sorting performance

Open fereidani opened this issue 1 month ago • 3 comments

Hey Elham, Cool project!

This optimizes your render sorting by reducing sorting size(code isn't using &Arc reference and it only increase memory swap time while sorting(2x copy time)) and also pre-allocated the buffer so it doesn't heap allocate in the program render loop.

You can remove the unsafe part yourself later by adding lifetimes.

Important Note: If you merge this, you owe me a Kabuli Pulu!

fereidani avatar Dec 16 '25 02:12 fereidani