mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-29 17:31:02 +02:00
Implements std.base64 in native Go, improving performance benchmark old ns/op new ns/op delta Benchmark_Builtin_base64-16 10805730974 23158636 -99.79% Benchmark_Builtin_base64_bytearray-16 8682808704 123360964 -98.58%
11 lines
306 B
Plaintext
11 lines
306 B
Plaintext
RUNTIME ERROR: base64 can only base64 encode strings / arrays of single bytes, got number
|
|
-------------------------------------------------
|
|
testdata/builtinBase64_non_string_non_array:1:1-14 builtin function <base64>
|
|
|
|
std.base64(1)
|
|
|
|
-------------------------------------------------
|
|
During evaluation
|
|
|
|
|