Commit Graph

16 Commits

Author SHA1 Message Date
Lol3rrr
ba48e89617 Remove fieldinfo from entity prop 2024-10-17 21:38:22 +02:00
Lol3rrr
14c422983e First iteration that should work correctly but seems to have some memory issues with entities 2024-10-17 21:15:03 +02:00
Lol3rrr
c48e8f3e42 Fix CI test action and remove incomplete test case 2024-10-17 17:55:48 +02:00
Lol3rrr
52d58efa23 Add basic benchmarks and CI 2024-10-17 17:43:11 +02:00
Lol3rrr
3068dfdc5b Switch to using Arc<str> for often cloned strings 2024-09-30 15:51:52 +02:00
Lol3rrr
777248ab3c Some minor improvements and fixes 2024-09-30 13:46:12 +02:00
Lol3rrr
a872c5b3db More tests and some other stuff 2024-09-30 00:47:32 +02:00
Lol3rrr
fa57cacae0 Add more helper functions 2024-09-27 22:48:02 +02:00
Lol3rrr
7114124096 Add id for entity 2024-09-26 17:03:45 +02:00
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