1
Fork 0
mirror of https://github.com/RGBCube/cstree synced 2025-07-29 18:17:44 +00:00

Implement Resolver and Interner for Arc<MultiThreadedTokenInterner> (#72)

* Implement traits for Arc<MultiThreadedTokenInterner>

* implement Resolver for Arc<Resolver>, update docs
This commit is contained in:
RGBCube 2025-03-21 00:33:19 +03:00 committed by GitHub
parent e90300f4fc
commit fb8cc54104
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 66 additions and 33 deletions

View file

@ -2,6 +2,10 @@
## Unreleased
* `&I` and `&mut I` will now implement `Resolver` if `I` implements `Resolver`.
* `&mut I` will now implement `Interner` if `I` implements `Interner`.
* Added an implementation for `Arc<MultiThreadedTokenInterner>` to implement `Resolver` and `Interner` so an `Arc` may be used alternatively to a reference to share access to the interner.
## `v0.12.2`
* `Checkpoint`s for the `GreenNodeBuilder` can now be used across node boundaries, meaning you can use them to wrap (finished) nodes in addition to just tokens.