From 052f54e0fe4356e5525e86079e9fe531f98dcc46 Mon Sep 17 00:00:00 2001 From: Jeff Bezanson Date: Sun, 7 Dec 2014 18:20:50 -0500 Subject: [PATCH] fix performance of #7714 by forcing use of Zip2{Any,Any} discovered using TRACE_INFERENCE. this was specializing Zip2 for all method signatures processed by the reflective code. --- base/replutil.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/replutil.jl b/base/replutil.jl index 643823a692068..bfd6a7be696fc 100644 --- a/base/replutil.jl +++ b/base/replutil.jl @@ -155,7 +155,7 @@ function showerror(io::IO, e::MethodError) print(buf, " $(e.f.env.name)(") first = true right_matches = 0 - for (arg, sigtype) in zip(e.args, method.sig) + for (arg, sigtype) in Zip2{Any,Any}(e.args, method.sig) if first first = false else