Commit Graph

7 Commits

Author SHA1 Message Date
Lol3rrr
ff8d05b79a Change the way entity data is stored 2024-09-22 23:19:18 +02:00
Lol3rrr
8b41ad5108 Fix (clippy) warnings 2024-09-22 22:28:16 +02:00
Lol3rrr
67d33f64c0 Fix formatting and minor restructuring
Fixed formatting using cargo fmt.
Change some parser structure to reduce code deduplication
2024-09-22 20:31:38 +02:00
Lol3rrr
bead8549d4 Performance Improvements
Work on improving the performance of the entity parsing stuff

Benchmarked using hyperfine with 2 warmup runs on my M1 Macbook

Entities - Previous: 14.845 s ±  0.095 s
No-Entities - Previous: 318.4 ms ±  18.1 ms

Entities - New: 1.117 s ±  0.021 s
No-Entities - New: 325.4 ms ±  16.7 ms
2024-09-22 17:32:13 +02:00
Lol3rrr
6d89de0663 Update tests and some more 2024-09-21 21:53:41 +02:00
Lol3rrr
ba237795fd Now keep track of entity state as well 2024-09-21 15:42:32 +02:00
Lol3rrr
1bf68e78e4 Start with entity support 2024-09-20 23:46:38 +02:00