benreid24 / BLIB

Small organized collection of common code I have accumulated over the years that has amassed into a proper 2d game engine
1 stars 0 forks source link

Refactor script value built-in properties to use hash map #63

Closed benreid24 closed 3 years ago

benreid24 commented 3 years ago

Right now it is a big chain of if/else's which is not ideal. Place built-in's for arrays/properties in hash map for faster lookup. Value.cpp