performance optimization for C
add string pool