Vladimír Gorej
Vladimír Gorej
In https://github.com/swagger-api/apidom/pull/933 I've implemented two specialized iterators that provide optimized access to tree-sitter CST. Accessing the tree-sitter CST via cursor mechanism is 10 times faster. As cursor traversal is not...
Current status: waiting for https://github.com/tree-sitter/node-tree-sitter/pull/96 to be merged to utilize the cursor traversal iterators and increase the parsing speed.
https://github.com/tree-sitter/node-tree-sitter/pull/96 has been finally merged. We need to wait for new release of `tree-sitter` and we can utilize the cursor traveral.
`[email protected]` has been released and tree-sitter cursor traversal has been utilized in `apidom-parser-adapter-json`. The performance of JSON syntactic analysis has been increased by 100% (direct & indirect).
[email protected] has been released and tree-sitter cursor traversal has been utilized in `apidom-parser-adapter-yaml-1-2`. The performance of YAML 1.2 syntactic analysis is now 7x faster (indirect).
First we need to get rid of `babel-plugin-native-error-extend` plugin and take full control over how we extend native errors.
New monorepo package called `@swagger-api/apidom-error` has been introduced in https://github.com/swagger-api/apidom/pull/3067: Main things that this package handles is: - bypass complicated extensions of native Errors - backward and forward compatible support...
`@swagger-api/apidom-errors` package is now exclusively used to create error hierarchies. Addressed in https://github.com/swagger-api/apidom/pull/3068. `babel-plugin-native-error-extend` has been removed and the complexity of error extensions and compatibility is handled exlusively in `@swagger-api/apidom-errors`...
`apidom-reference` package error hierarchies has been based on `apidom-error` package in https://github.com/swagger-api/apidom/pull/3220
@frantuma yes - it will be a breaking change, but the behavior can be explicitly turned on again and work exactly as before.