mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-07 23:07:14 +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
324 B
Plaintext
11 lines
324 B
Plaintext
RUNTIME ERROR: base64 encountered invalid codepoint value in the array (must be 0 <= X <= 255), got 256
|
|
-------------------------------------------------
|
|
testdata/builtinBase64_string_high_codepoint:1:1-17 builtin function <base64>
|
|
|
|
std.base64("Ā")
|
|
|
|
-------------------------------------------------
|
|
During evaluation
|
|
|
|
|