Re: [whatwg/encoding] Fast byteLength() (Issue #333)

Maybe something that indicates that `byteLength()` API is not constant-time operation the way that `.length` generally is. This might discourage cases like twice-iterating through the string. Something like `countByteLength()`


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/issues/333#issuecomment-2322050167
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/encoding/issues/333/2322050167@github.com>

Received on Friday, 30 August 2024 17:44:34 UTC