Check if empty string came from global instance.

This commit is contained in:
Stephen Chung
2021-09-27 11:09:19 +08:00
parent c4a00f5269
commit e963a7251c
3 changed files with 37 additions and 14 deletions

View File

@@ -43,6 +43,7 @@ Enhancements
* `SmartString` now uses `LazyCompact` instead of `Compact` to minimize allocations.
* Added `pop` for strings.
* Added `ImmutableString::ptr_eq` to test if two strings point to the same allocation.
### `Scope` API