mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-30 09:51:03 +02:00
feat: improve std.base64Decode performance 97%+ Provides a Go-native implementation of std.base64Decode and std.base64DecodeBytes benchmark old ns/op new ns/op delta Benchmark_Builtin_base64Decode-16 10946388307 25004135 -99.77% Benchmark_Builtin_base64DecodeBytes-16 6420742757 181513016 -97.17% related to #111
11 lines
333 B
Plaintext
11 lines
333 B
Plaintext
RUNTIME ERROR: input string appears not to be a base64 encoded string. Wrong length found (5)
|
|
-------------------------------------------------
|
|
testdata/builtinBase64Decode_invalid_base64_data:1:1-26 builtin function <base64Decode>
|
|
|
|
std.base64Decode("wrong")
|
|
|
|
-------------------------------------------------
|
|
During evaluation
|
|
|
|
|