Open copy opened 1 year ago
How large of a database / history do you have?
The commands table in my history.db has 470000 rows.
Maybe we need a way to dedup or reduce history instead?
I'm open to ways to improve this. Not sure how async would work, though.
Even after with the addition of
MCFLY_HISTORY_LIMIT
, cltr-r still feels pretty unresponsive with a large database, as measured in https://github.com/cantino/mcfly/issues/125#issuecomment-788729489. It could feel much better if the results were loaded asynchronously, similar to howfzf
does it.