Faster GET_SIZE macro
inline some functions
supress compiler warning by changing NULL literal to 0