precompute hashes by default (speedup); halve MAXPATHLEN
precompute hashes by default in Java as well