Add macro IS_NIL
authorKim Nguyễn <kn@lri.fr>
Tue, 14 Feb 2012 10:00:45 +0000 (11:00 +0100)
committerKim Nguyễn <kn@lri.fr>
Tue, 14 Feb 2012 10:00:45 +0000 (11:00 +0100)
commitfc8aa5183419843130789c6f0e84461481cb22af
tree27cd7707554906868dd555981616fbb242f508fd
parent00d137d79d67d8a79c8ff7ab6623a00a3783df5f
Add macro IS_NIL

    Testing whether a node is NIL with < 0 rather than == -1 allows
    the compiler to know that a node is >= in subsequent code, thus
    opening the door to more aggressive optimizations.
XMLTree.h