jharwell / prism

Parallel Construction Using Graphical Invariants
GNU General Public License v3.0
1 stars 0 forks source link

enh/24-structure-cell-spec-map #24

Closed jharwell closed 4 years ago

jharwell commented 4 years ago

Instead of having to query the ramp and cube block maps EVERY time you want to get the spec of a cell (which if robots ever need to do this will quickly become a huge bottleneck for larger structures), a static (cell loc, spec) should be built during structure initialization, and then just indexed into after that. Will make debugging easier too I think.