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
Checking the performance against the original tiktoken (written in Rust) and against the Java port, the Dart regex fragment parser is insanely slow (roughly 30x slower).
Even simple regex optimizations don't help since Dart doesn't seem to support possessives (and is most likely slow because of backtracking).
Checking the performance against the original tiktoken (written in Rust) and against the Java port, the Dart regex fragment parser is insanely slow (roughly 30x slower).
Even simple regex optimizations don't help since Dart doesn't seem to support possessives (and is most likely slow because of backtracking).
A dedicated cl100k parser could help - as done in knuddelsgmbh/jtokkit#77.
The text was updated successfully, but these errors were encountered: