Revert "Enable capacity on packages."

This reverts commit 85ca6ec4a1.
This commit is contained in:
Stephen Chung
2022-09-14 15:17:36 +08:00
parent 72244b74cd
commit 640471f865
14 changed files with 16 additions and 38 deletions

View File

@@ -12,11 +12,6 @@ New features
* [`Engine::register_custom_syntax_with_state_raw`] is added. The custom syntax parser and implementation functions take on an additional parameter that holds a user-defined custom _state_ which should substantially simplify writing some custom parsers.
* [`Engine::register_custom_syntax_raw`] is deprecated.
### Initial capacity for packages
* For packages that register a large number of functions, a syntax extension for `def_package!` allows the specification of the initial _capacity_ of the package to reduce reallocation costs.
* A `capacity` method is added to the `Package` trait.
Version 1.10.0
==============