accelerate backtrace-to-function mapping

this seems to make printing backtraces about 90% faster