-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Implement cache #4
Comments
Throwing in what I had:
From looking at the original implementation's hash map, it looks like it stores three things, heatmap-func, heatmap, and the hash_for_strings value. I was struggling with some of the rust syntax around optionals and maybe this looks to be what I'm looking for.
The biggest thing is trying to figure out how to set up a static cache in the flx-rs library. Maybe allowing the elisp side to send the hashmap down will work but I'm not sure about pulling/pushing in values to the map from the lisp side. |
Original discussed in jcs-elpa/flx-rs#3
Here is another attempt to implement feature cache, see #3. I am not a rust expert, so I always look for improvement or better attempts.
The text was updated successfully, but these errors were encountered: