HPCC-12486 Optimize binding module functions

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
This looks like it was just meant for you whilst developing. If you think it should stay in, should it not write to a log rather than using printf? Additionally, should it not be an accessible switch external to building?  i.e. do something with the #define TRACE_BINDING