Make auxiliary function static and remove them from the interface.
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1220
3cdefd35-fc62-479d-8e8d-
bae585ffb9ca
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
Formatting, trailing whitespaces.
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1218
3cdefd35-fc62-479d-8e8d-
bae585ffb9ca
Add table version of popcount and popcount8
* Adds an alternative version of popcount using a static table for
8 bits patterns. Disabled by default.
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1217
3cdefd35-fc62-479d-8e8d-
bae585ffb9ca
Big renaming. Uses the bp namespace everywhere
* Prepend bp- to filenames
* Prepend bp_ to function names
* Make non exported function static
* Make critical function static inline
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1214
3cdefd35-fc62-479d-8e8d-
bae585ffb9ca
Fix typo in makefile.
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1213
3cdefd35-fc62-479d-8e8d-
bae585ffb9ca
Fix makefile to use $@ as output file instead of hardcoded name.
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1209
3cdefd35-fc62-479d-8e8d-
bae585ffb9ca
Make utility function static.
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1208
3cdefd35-fc62-479d-8e8d-
bae585ffb9ca
Initial import of libbp
* Split Sadakane's code in its own repository.
* Compile with C compiler instead of C++
* Make the code C++ aware
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1201
3cdefd35-fc62-479d-8e8d-
bae585ffb9ca
Create a repository for Sadakane's BP library.
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/bp@1200
3cdefd35-fc62-479d-8e8d-
bae585ffb9ca