>>>>> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
DS> For the internals, though...
DS> This would be very useful, and it's a feature I'd really like to implement.
DS> Basically you're asking for pre-computed, indirect, shared hash keys. This
DS> sounds like a Good Plan to me.
Why precomputed? Any 'interned' string has a unique value (e.g. address).
Though wouldn't they have to be garbage collected? Short lived hashes
with constantly changing keys, the shared hash keys would keep growing.
Actually, this might be something useful at the user level. Many times
I do this
@record{@keys} = new_values();
Using a set of 'intern'ed strings might make it more efficient. And unless
we are able to note that @keys is always the same,the hashes would have to
keep getting recomputed. With the symbols we might be able to recognize
the constant set.
<chaim>
--
Chaim Frenkel Nonlinear Knowledge, Inc.
[EMAIL PROTECTED] +1-718-236-0183