You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...if this information is known upfront, maybe there could be an API to tell deno_core this unsafely? I'm creating strings from bytes that are &'static [u8] for deno compile and it would be better to store upfront if they're ascii for perf reasons.
The text was updated successfully, but these errors were encountered:
There's a perf cost to checking if a string is ascii:
...if this information is known upfront, maybe there could be an API to tell deno_core this unsafely? I'm creating strings from bytes that are
&'static [u8]
fordeno compile
and it would be better to store upfront if they're ascii for perf reasons.The text was updated successfully, but these errors were encountered: