The functions are moved to different files based on their purpose.
Also the structures are simplified which makes the use of caches more explicit and easier to maintain.
Currently the performance is slightly lower than before in most cases (at least on my machine with in-memory SQLite).
See this pdf for details: bench_comparison_laptop.pdf
Performance tweaks will follow in separate PRs.
This PR goes one step further than #158.
The functions are moved to different files based on their purpose. Also the structures are simplified which makes the use of caches more explicit and easier to maintain.
Currently the performance is slightly lower than before in most cases (at least on my machine with in-memory SQLite). See this pdf for details: bench_comparison_laptop.pdf Performance tweaks will follow in separate PRs.