vini-btc / stacks-nakamoto-block-simulator

A Stacks block simulator for educational purposes
https://stacks-nakamoto-block-simulator.vercel.app
MIT License
0 stars 1 forks source link

Improve performance for longer chain simulations #5

Closed vini-btc closed 1 year ago

vini-btc commented 1 year ago

After a few blocks are rendered, the performance of the 3d scene drops significantly. This is probably because we're not reusing materials and meshes like we should, and I believe re-implementing the block render component using https://github.com/pmndrs/drei#instances could be a potential solution for this problem.