NRK
NRK
> poke me if I don't get back at the end of Jan? ping
Looks mostly fine, but shouldn't it try adding the fist duplicate in the middle or beginning? Otherwise the duplicate entry is already the newest, isn't it? ```diff diff --git a/tests/test_store.c...
I've separated the `NDEBUG` change into it's own commit, in order to give it a bit more context. Otherwise, everything else is kept the same.
I quoted the wrong part earlier (pointer-pointer subtraction instead of pointer-integer addition). [Here](https://port70.net/~nsz/c/c11/n1570.html#6.5.6p8) is the correct section and the relavant part (emphasis added): > If both the pointer operand *and...
> That seems to produce more easy to understand code flow to me. That's what I originally had but that only fixes the `end - 1` computation. I realized later...
> rofi-script is what I'm waiting on release for Is there a list of blocker for v7? So far what I've gathered are: - [ ] rofi-script - [ ]...
> Could you give an example? Sure, here's a test case: ```console $ xclip -sel c
> deduplication broke the sense of time of copying I'm not sure what this means, but I'm assuming it means the following: 1. You have a snip "A" at index...
> but we used to do deduplication across the entire line cache and people would complain that their clips "disappeared", when in fact they just moved around after being copied...
I've poked a bit into this. The clip_store thing seems pretty delicate and I haven't looked through it fully, but something like the following seems to be working, in pseudo-code:...