durusmail: durus-users: Redundant code aliases in btree
Redundant code aliases in btree
2006-06-27
2006-06-27
2006-06-27
2006-06-27
2006-06-27
Redundant code aliases in btree
Jesus Cea
2006-06-27
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Patrick K. O'Brien wrote:
> Are they indeed equivalent?  One refers to 'n.minimum_degree', the other
> to 'self.minimum_degree'.  Is it possible for those to be different?

Arg!, you are right, Patrick. Since current BTree implementation keeps
all internal nodes of the same class,
"self.minimum_degree==n.minimum_degree", but this is a casual
implementation artifact.

Better to refactor that code, cleanly.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea@argo.es http://www.argo.es/~jcea/ _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea@jabber.org         _/_/    _/_/          _/_/_/_/_/
                               _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRKFThJlgi5GaxT1NAQKRygP+O57/+Ow14AD13t5CBDUoOvyZ5MkOoffG
9cNfTMh7LgCGrUpegg3mWT43iRPK5ClKCZDpT304jRx2GqNeIosRazbl6Es8Utv/
JmMx1CuVHmnNKEWcKdIlxmgaAO/HVn+033LGc/JJ+6ZIqSUuDMyMHzHHrimWq9P8
3pqOEVvdg80=
=nwiR
-----END PGP SIGNATURE-----
reply