nat-418 / boole.nvim

Neovim plugin for toggling booleans, etc.
BSD Zero Clause License
164 stars 7 forks source link

rewrite using hashmaps #1

Closed nagy135 closed 2 years ago

nagy135 commented 2 years ago

Hello, I like the idea and simplicity of this. What bothers me was that it was comparing all the pairs all the time. This way we use some resources during plugin load, generating 2 hashmaps, but during runtime its O(1) because of hashmap accessing.

nagy135 commented 2 years ago

also noticed setup mappings typo in readme, so added that as well