3 Days Ago
experimentally routing calls to queries from a non-burst context to run a burst compiled job on the main thread and calls from burst contexts to directly run the code - uses a mixture of BurstDiscard and compiler hints to avoid compiling any branching into burst-compiled code - twice as fast than just burst compiling the function calls and calling it directly from managed/non-managed contexts - at least 10x faster for larger queries in worst cases (empty grid) and negligable difference for small queries