Commit Graph

4 Commits

Author SHA1 Message Date
Deukhoofd f0bc62ce19
Minor optimization in StringKey, making it from an Arc<String> into an Arc<str>
continuous-integration/drone/push Build is passing Details
2022-06-12 18:18:26 +02:00
Deukhoofd 55380f631f
Rework StringKey to be able to re-use strings for a lower memory footprint.
continuous-integration/drone/push Build is passing Details
By caching strings we make sure we're using the exact same string everywhere, and creating 100 StringKeys of for example `charmander` will use the exact same memory footprint as creating only one.
2022-06-12 18:11:14 +02:00
Deukhoofd 56e1237c22
Adds more unit tests
continuous-integration/drone/push Build is passing Details
2022-06-11 20:51:37 +02:00
Deukhoofd 6e8f4dd4a5
A lot more work on a bunch of different parts of the system. 2022-06-11 17:22:46 +02:00