Closed lawrancej closed 12 years ago
EmptyString currently allows multiple instances, which is wasteful of space. We only need one instance of emptystring.
compilerkit_empty_set_new
compilerkit_empty_set_dispose
I got this.
This one will be a cakewalk now. :-)
Saw your latest commits yesterday. Thanks for fixing this, Kyle!
EmptyString currently allows multiple instances, which is wasteful of space. We only need one instance of emptystring.
compilerkit_empty_set_new
so that it statically allocates a single instance of that object, which it returns.compilerkit_empty_set_dispose
so that it doesn't bother to deallocate the instance.