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
Encoding a simple sentence takes crazy amount of cpu time.
Try to run code below
neon.encode("Sed tempus eu tortor sagittis commodo. Phasellus luctus pharetra lectus, at vulputate ex.");
It's due to this regex:
/^(?:[^\x00-\x20#"',:=[\]{}()!`-]|[:-][^"',\]})\s])(?:[^\x00-\x20,:=\]})(]+|:(?![\s,\]})]|$)|[\ \t]+[^\x00-\x20#,:=\]})(])*$/
The text was updated successfully, but these errors were encountered:
cc4ef23
No branches or pull requests
Encoding a simple sentence takes crazy amount of cpu time.
Try to run code below
It's due to this regex:
/^(?:[^\x00-\x20#"',:=[\]{}()!`-]|[:-][^"',\]})\s])(?:[^\x00-\x20,:=\]})(]+|:(?![\s,\]})]|$)|[\ \t]+[^\x00-\x20#,:=\]})(])*$/
The text was updated successfully, but these errors were encountered: