On Tue, Nov 19, 2024 at 8:05 PM Ercolino de Spiacico <bellocar...@hotmail.com> wrote: > If given the possibility, I would be very happy to map a file in RAM knowing > that > this is handled differently from the "standard" conf-file.
I agree with this point and I'm developing libddt (dense domain table) that is basically a mmap()'able tire representing a list of domains. The data structure resembles the one libpsl uses to store publicsuffix.org database. Preliminary results for a test-case of 500k domains were ~2 MiB of RAM usage and sub-10ms resolution latency. However, I got no replies for my call-for-test-cases[1] a few months ago, so I moved my focus to other sub-projects of that project for a while. I would be grateful if you can share your block-lists with me, so I can test my code with more cases. Also, please tell me, if you have any interest in testing the patch-set. We can't know if it'll be merged to the main dnsmasq repo, but extra testing and feedback kinda increases chances of that happening :-) [1] https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q3/017627.html -- WBRBW, Leonid Evdokimov, https://darkk.net.ru tel:+79816800702 PGP: 6691 DE6B 4CCD C1C1 76A0 0D4A E1F2 A980 7F50 FAB2 _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss