Add ref counting to string interning so we can remove

a string when there are no longer any refs. Add tests for interning.

Co-authored-by: Tom Wilkie <tom.wilkie@gmail.com>

Signed-off-by: Callum Styan <callumstyan@gmail.com>
This commit is contained in:
Callum Styan 2019-03-11 16:44:23 -07:00 committed by Tom Wilkie
parent cbf5f13285
commit 1a7923dde3
3 changed files with 143 additions and 12 deletions