100-fold speedup in how we sanity-check inputs.
100-fold speedup in how we sanity-check inputs.

pombredanne/nsrlsvr,pombredanne/nsrlsvr,pombredanne/nsrlsvr,rjhansen/nsrlsvr,rjhansen/nsrlsvr,rjhansen/nsrlsvr