-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
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
Long expressions #319
Comments
Actually, ignore my previous comment. We have a hard-coded limit for how long a string we look up. It's currently set at 13 characters. |
Can we extend it? |
Sure. We should probably do some analysis on the database to see what the longest entries are. There will be some performance impact too since we'll do a number of more lookups than we need to, but hopefully it's acceptable? It would be nice if we could do some performance comparison though. |
This is from the bundled |
Thanks! That's super useful. I'm concerned that once I (finally) switch to storing the data in IndexedDB the extra lookup times for each substring are going produce a pretty significant performance impact. Perhaps we could extend the limit to 16 for now? 19 at most? |
Or maybe this should be adjustable in the options page? |
This! |
I've updated the hard-coded limit to 16 for now in: 91846e1 I try really hard to avoid adding options so I'd prefer to wait until I can profile the performance difference properly and, if there's no noticeable impact, just increase the limit to 37. |
For some reason, Rikai can't recognize the expression 先生と言われるほどの馬鹿でなし.
It's been in JMdict since last year, though: https://www.edrdg.org/jmdictdb/cgi-bin/entr.py?svc=jmdict&sid=&e=2070202
The text was updated successfully, but these errors were encountered: