Thorium-Sim / thorium-nova

Next-generation Spaceship Controls
https://thoriumsim.com
Apache License 2.0
342 stars 14 forks source link

Optimization - Deck Nodes #581

Closed alexanderson1993 closed 1 year ago

alexanderson1993 commented 1 year ago

It's necessary to access deck nodes by ID frequently, but they are stored in an array. It would be better if there were some kind of index, either by storing them in an object, or creating an index/cache.