mirror of
https://github.com/google/go-jsonnet.git
synced 2025-12-24 18:41:07 +01:00
Sort is something that is highly optimized in most languages and users can expect it to be fast. We can piggyback on the Go implementation. This change results in 100x speedup on bench.06.jsonnet.
16 lines
360 B
Plaintext
16 lines
360 B
Plaintext
RUNTIME ERROR: foo
|
|
-------------------------------------------------
|
|
testdata/std.sort3:1:16-27 thunk from <thunk from <$>>
|
|
|
|
std.sort([1,2, error "foo"])
|
|
|
|
-------------------------------------------------
|
|
testdata/std.sort3:1:1-29 builtin function <sort>
|
|
|
|
std.sort([1,2, error "foo"])
|
|
|
|
-------------------------------------------------
|
|
During evaluation
|
|
|
|
|