function: use the argument cache for the instance parameter too

This frees us of expensive allocations and switches in another
hot path.

Closes #70.

[skip ci] - doesn't compile yet

(Philip Chimento: Rebased and fixed coding style.)