Remove null pointer check in favor of assertion
Use malloc instead of calloc for better perfomance
Fix false reports on prefixes of known strings
Remove caching from python lib

This should be done where this class is used if needed.