ugh. Did you do this in response to an actual observed perf issue? I though v8 had finally specialized min/max on two numeric args. If we need to not call min/max we should add a utils.min/max that does exactly this.