There are many queries to resolve a single pattern. However, these go through the optimizer, and reduction just like any other query, which is a lot of unnecessary work. This has shown up as a hot spot when being used in browsers, as per IROH-UI #906 (Private repo).
Address this by short circuiting simple queries to perform a simple projection over an index lookup.
There are many queries to resolve a single pattern. However, these go through the optimizer, and reduction just like any other query, which is a lot of unnecessary work. This has shown up as a hot spot when being used in browsers, as per IROH-UI #906 (Private repo).
Address this by short circuiting simple queries to perform a simple projection over an index lookup.