HPCC-12486 Optimize binding module functions

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
I kept it because it might be useful for investigating issues in the future.

It adds overhead (to a critical routine) and unlikely to be used by many people so it isn't on an option.  Similarly it doesn't matter where the output goes....