Changes == 0 to <= 0 for node id test
authorkim <kim@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Tue, 14 Feb 2012 09:26:36 +0000 (09:26 +0000)
committerkim <kim@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Tue, 14 Feb 2012 09:26:36 +0000 (09:26 +0000)
commit5979c34ae2455997903c8b2cc43a53f4cc13353c
treef4b46e41e861a0155cc24f0330b25c1e5d8a26e7
parent89acd756a2eca5e47911e24b212f68cf7e3528bf
Changes == 0 to <= 0 for node id test
* negative node-ids are special values that denote dummy nodes
or errors, since valide nodes are positive, refusing the root
with <= 0 rather than == 0 tells the compiler that the value
of the id is (strictly) positive in the subsequent code,
allowing the compiler to perform more agressive optimisations.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1219 3cdefd35-fc62-479d-8e8d-bae585ffb9ca
bp-darray.c