[erlang-questions] Performance of matches
Wed Jun 4 22:20:28 CEST 2008
2008/6/4 Richard A. O'Keefe <>:
> > On Mon, Jun 2, 2008 at 11:15 PM, Darren New <> wrote:
> > Good to know the process dictionary is actually a hashtable, but
> > there's
> > only one per process and they don't nest, so that's pretty limited.
> Sure they nest: a key can map to another process and _that_ process has
> another process dictionary. It would be pretty simple to whip up a
> module implementing multi-key hash tables that way.
There is a much easier way to nest them: the value can be a dict, which is a
hash table. :-)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions