interning UTF-8

Date view Thread view Subject view Author view

From: Archie Cobbs (archie@whistle.com)
Date: Sat Dec 19 1998 - 23:09:26 EST


I'm working on intern'ing UTF-8 constants. So any two Utf8Const *
pointers will actually be equal if they have the same contents.

The question I have now is how to remove Utf8Const's from the
hashtable when all of their references have been garbage collected
away?

Is it correct that I just need to write a special finalizer
"finalizeUtf8Const" in gc-incremental.c that removes the string
from the hashtable?

Thanks,
-Archie

___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:25 EDT