optimization: call stack frame caching (reduced alloc. count)