-
Notifications
You must be signed in to change notification settings - Fork 31
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
Performance table row for looking up existing strings #78
Comments
… and apparently the answer is that all the backends will perform exactly the same in this case because the frontend has a … except that they won’t actually perform the same, because the |
Hi @Hawk777 that is a very valuable obervation. Would you be up to file a PR to improve the docs in this area? No problem if not, then it will be done at a later point in time. Certainly needs clarification. |
Maybe I could. What would you suggest? Is there data to gather, or should I just reword things so that it’s clear that the |
Looks good thanks! |
I like the concise data about performance and features in the table in the README. However, it seems to be missing a row for the performance of looking up strings in the interner, which seems like it would be a very common operation. If I understand correctly, “fill” means adding new strings (i.e. calling
get_or_intern
on a string that is not already present) while “resolve” means converting symbols back to strings (i.e. callingresolve
), but there doesn’t seem to be a row for callingget_or_intern
on a string that is already present. For some applications, that’s going to be the vast majority of operations; for example, consider an application where you have a modest vocabulary that will all get interned quite soon after startup, but a very long sequence of words from that vocabulary that need to be converted into symbols as they’re received.The text was updated successfully, but these errors were encountered: