Build an optimized subroutine parameter validator
