interface caching micro-optimization