_yield_code now accepts several more optional parameters

The caller can pass on additional information to boost performance