Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: avoid allocation in the Size method for BASE64URL and BASE64 #53550

Closed
wants to merge 16 commits into from
1 change: 0 additions & 1 deletion src/string_bytes.cc
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,6 @@ Maybe<size_t> StringBytes::StorageSize(Isolate* isolate,

case BASE64URL:
data_size = simdutf::base64_length_from_binary(view.length(),
simdutf::base64_url);
break;

case BASE64:
Expand Down
Loading