go-jsonnet/testdata/builtinReverse_not_array.golden
Wes McNamee 3b580145f4 feat: improve std.reverse performance by 73.39%
Implements std.reverse in native Go, improving performance

benchmark                        old ns/op     new ns/op     delta
Benchmark_Builtin_reverse-16     869191619     231309458     -73.39%

part of #111
2020-01-26 22:11:59 +01:00

11 lines
267 B
Plaintext

RUNTIME ERROR: Unexpected type string, expected array
-------------------------------------------------
testdata/builtinReverse_not_array:1:1-20 builtin function <reverse>
std.reverse("asdf")
-------------------------------------------------
During evaluation