stevesea / Adventuresmith

Generate tabletop RPG nonsense at the push of a button! (on Android)
https://stevesea.github.io/Adventuresmith/
GNU General Public License v3.0
74 stars 16 forks source link

refactor collection/generator hierarchy, speed up app startup #155

Closed stevesea closed 7 years ago

stevesea commented 7 years ago

we read too much data at app start, we don't need to. at moment, generators reference their collection/groups. so we've got to iterate over all of them to discover all the groups/collections. if we traversed the tree top-down, we could only read what we absolutely had to