creative use of __in__ resulted in high performance and smaller output code when inlined