Philipp Marek

Results 192 comments of Philipp Marek

That's already active - sorry, I should've mentioned it.

Well, if `autoload/matchup/delim.vim` and `function!` is not demonstrating the issue, use https://github.com/phmarek/alexandria/blob/master/alexandria-1/numbers.lisp and add a `(` somewhere in the middle of a function. With the default 50: ``` FUNCTIONS SORTED...

I've been running with the higher `show_delay`... but that's awful for normal work.

Another datapoint: ``` nvim :help winblend :MatchupShowTimes average last maximum [delim] get_surrounding#fail 2.99ms 2.99ms 2.99ms get_surrounding#accept 274.10ms 293.10ms 293.10ms [get_matching_delims] initial_pair 1.58ms 7.91ms 7.99ms get_matches 1.65ms 7.98ms 8.07ms [loader_init_buffer] done...

With `g:matchup_matchparen_hi_surround_always=0` the laggy behaviour is gone, right. I don't think `:help winblend` has a mismatch, though - so it seems to be expensive even on correct data. Hmmm, I...

Feels better, thanks. `:help winblend` navigation doesn't lag so visibly. Small nitpicks: - For my ~10 cursor movements, `s:reltimefloat` got called 4518 times... seems to have been available since 2016...

http://www.xach.com/naggum/articles/[email protected] > finally, another option is to rename REMOVE-IF-NOT to EXTRACT-IF and DELETE-IF-NOT to KEEP-IF or somesuch and perhaps invent useful names of the other -IF-NOT functions,

http://www.xach.com/naggum/articles/[email protected] > I have defined functions COLLECT and RETAIN as the semantic complements of REMOVE and DELETE, with -IF _and_ -IF-NOT variants.

http://www.xach.com/naggum/articles/[email protected] > it would have been nice if one could "prime" a hash table in the MAKE-HASH-TABLE form, as in keyword arguments named INITIAL-CONTENTS (like MAKE-ARRAY) and/or INITIAL-KEYS and INITIAL-VALUES.

@phoe ah yeah, right. Forgot about those. He also talked about a readable form (eg. `#H`), which does not exist in CL.