Performance optimizations for parameter extraction