change vector hash function
add some macros for config
fix dot dump bug and config macro
Merge pull request #8 from ryysd/config_macros

Config macros