mirror of
https://github.com/RGBCube/cstree
synced 2025-07-27 17:17:45 +00:00
[Changelog] add additional note for upgrading with lasso compat
This commit is contained in:
parent
b793b75f23
commit
4d1c90a56f
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
* The `interning` module has been rewritten. It now provides fuctions for obtaining a default interner (`new_interner` and `new_threaded_interner`) and provides a small, dependency-free interner implementation.
|
* The `interning` module has been rewritten. It now provides fuctions for obtaining a default interner (`new_interner` and `new_threaded_interner`) and provides a small, dependency-free interner implementation.
|
||||||
* Compatibility with other interners can be enable via feature flags.
|
* Compatibility with other interners can be enable via feature flags.
|
||||||
* **Note** that compatibilty with `lasso` is not enabled by default. Use the `lasso_compat` feature to match the previous default.
|
* **Note** that compatibilty with `lasso` is not enabled by default. Use the `lasso_compat` feature to match the previous default.
|
||||||
|
* If you are using `lasso` interners directly that you are also passing to `cstree`, note that while e.g. the `GreenNodeBuilder` can work with `lasso::Rodeo`s, you will not be able to convert between `lasso`'s `Spur` and `cstree`'s `TokenKey`. The `TokenKey` can, however, be used as the key type for `lasso` interners at no additional cost by working wiht a `Rodeo<TokenKey>` instead of the `lasso`-default `Rodeo<Spur>`.
|
||||||
* Introduced `Syntax::static_text` to optimize tokens that always appear with the same text (estimated 10-15% faster tree building when used, depending on the ratio of static to dynamic tokens).
|
* Introduced `Syntax::static_text` to optimize tokens that always appear with the same text (estimated 10-15% faster tree building when used, depending on the ratio of static to dynamic tokens).
|
||||||
* Since `cstree`s are lossless, `GreenNodeBuilder::token` must still be passed the source text even for static tokens.
|
* Since `cstree`s are lossless, `GreenNodeBuilder::token` must still be passed the source text even for static tokens.
|
||||||
* Internal performance improvements for up to 10% faster tree building by avoiding unnecessary duplication of elements.
|
* Internal performance improvements for up to 10% faster tree building by avoiding unnecessary duplication of elements.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue