-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
- Implement a new
StringViewtype to efficiently create substrings of another string StringViewstores a reference to the original string, a starting offset and a length- Come up with some heuristics on how to decide when to create a string view and when to just create a copy.
- GC could create copies if it is determined that the original string is no longer needed and only accessed through views.