mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-29 17:31:02 +02:00
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
11 lines
267 B
Plaintext
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
|
|
|
|
|