[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hash-tables containing references to hash-tables

From: Nordlöw
Subject: Hash-tables containing references to hash-tables
Date: Mon, 23 Nov 2009 03:12:22 -0800 (PST)
User-agent: G2/1.0

Is it possible for a hash-table to contain a *reference* to another
hash-table, similar to how we can build arbitrary graphs using conses/
lists and setf?
If so how? If not, is there reason for being so or is it just an emacs

If we have
  (puthash parent-key (make-hash-table : size CHILD-SIZE) parent-hash)
then I want
  (gethash parent-key parent-hash)
to return a *reference* to hash-table contained in parent-hash.

I already have a working code for this but I am uncertain how this
will perform when CHILD-SIZE is really large.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]