-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fe4e4eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jcs090218 example of cache support in the native module and passing a c pointer through the slab can be found in the fzf-native repo, not sure if that would help the flx-rs implementation or not.
fe4e4eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I think
emacs-rs-module
has the same concept.I am trying to use
once_cell
to implement cache but might need some time, see jcs-elpa/flx-rs#6. I might further investigate this feature (cache) since I don't know what's the best solution here.