nsensfel / tonkadur

Narrative scripting/programming tool. Write stories in your favorite editor using a feature-rich language, compile them into a very small and simple language to easily integrate them into your game.
https://tonkadur.of.tacticians.online
Apache License 2.0
3 stars 0 forks source link

Optimize text and string computations #40

Closed nsensfel closed 2 years ago

nsensfel commented 2 years ago

The "Learn" example seems to be generating one string object per word and one text object per string. This needs to be fixed and some optimization should be added for this regardless.

nsensfel commented 2 years ago

Done in https://github.com/nsensfel/tonkadur/commit/ff29f424d468952e7d3eebc3e17e05e2a6e8d3d2.