Closed scd31 closed 1 month ago
Amazing, I can't keep up with my changes since you're so fast haha! Huge thanks for your contributions. Sorry for being a bit late on merging them, I'm trying to find some more time for Arnis again. I'm really motivated on pushing the development of this project forward to a new release. :)
No worries at all!
There is probably more that could be done here, but I'd say this fixes #72 and #63. My city took 40GB of RAM originally, and then 20GB after #74. It now only takes 2-3GB of RAM for the same city.
The main improvement comes from reducing the size of the
Block
struct. It's now only 1 byte long. This has also improved performance a bit.