We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is a pretty cool library! I'm doing something like this:
while (enc.encode(raw).length > length) { raw = raw.slice(0, -1000) }
to truncate big data, however this is quite slow (running this 100 times can take like 1-2 seconds).
Is there any better way to do this or can I optimize this somehow?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is a pretty cool library! I'm doing something like this:
to truncate big data, however this is quite slow (running this 100 times can take like 1-2 seconds).
Is there any better way to do this or can I optimize this somehow?
The text was updated successfully, but these errors were encountered: