Styles/locales converted to JSON are much faster to initialize, and somewhat faster to execute.
Simply converting any changed styles to JSON via the included python script when they're periodically pulled from the repo generally works until we get to the case of remote styles.
This is also complicated by citeproc-js and the way nodejs modules work. The top level CSL object we use is a singleton within the module, and can't trivially have multiple instances with different parsers running.
Styles/locales converted to JSON are much faster to initialize, and somewhat faster to execute. Simply converting any changed styles to JSON via the included python script when they're periodically pulled from the repo generally works until we get to the case of remote styles.
This is also complicated by citeproc-js and the way nodejs modules work. The top level CSL object we use is a singleton within the module, and can't trivially have multiple instances with different parsers running.