[bind10-dev] OpenReg's communications framework

Michael Graff mgraff at isc.org
Mon Jul 13 22:51:17 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Francis Dupont wrote:
>> An "item" is either a literal string of bytes, a NULL, a HASH, or a LIST.
> 
> => is there a notion of pointer? This is needed to express sharing,
> for instance for data structures like cyclic graphs. Without it not
> only some data structures have an infinite representation but it can
> be very inefficient. Perhaps it is coded with a dictionary of shared
> items?

OpenReg did not need such things.  We lived in a world of database
tables, so storing a name of a zone or its zone_id was enough to
reference a shared object.

I could see a way to do this without any magic.  If you expect a node
named "parent" to be either a parent object (that is, a "hash"
describing the object) but get an integer, that references an object
with an id you already got.

- --Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpbumUACgkQ+NNi0s9NRJ0vAACfQKXOQISVeuB3uX1HwNUOz0pe
tVMAoJp4VcQgrKqYQP0OLEghBKk74cmJ
=03yr
-----END PGP SIGNATURE-----



More information about the bind10-dev mailing list