r2024.01.23-326
* Use array indexing instead of left joins This has multiple benefits: - Allows us to more easily add support for multiple custom property filters - Performance: Increased performance of some queries by ~20% Work left to do: - Check tests coverage - Create macros for repeated fragments - Quote and refer to right tables in fragments/macros * Use macros to clean up code * Use existing atoms to avoid memory leaks