Re: [PATCH 07/16] lib: Add eu_tsearch and eu_tfind

2023-10-17 Thread Heather McIntyre
Hi Mark, I think having unique per-root locks might be a good idea. From a brief test, I saw around 70 roots created when parsing the test file I have been using. I have an initial idea for this that I don't think will be too complicated. I will go over my idea with John to get his input and then

Re: [PATCH 07/16] lib: Add eu_tsearch and eu_tfind

2023-10-10 Thread Mark Wielaard
Hi Heather, On Tue, 2023-10-10 at 15:42 +0200, Mark Wielaard wrote: > From: Heather McIntyre > > * lib/eu-search.h: New file. > Declarations for read/write locked eu_tsearch/eu_tfind. Like in the previous case, don't forget to add such a new header to noinst_HEADERS so make dist add

[PATCH 07/16] lib: Add eu_tsearch and eu_tfind

2023-10-10 Thread Mark Wielaard
From: Heather McIntyre * lib/eu-search.h: New file. Declarations for read/write locked eu_tsearch/eu_tfind. * lib/eu-search.c: New file. Definitions for read/write locked eu_tsearch/eu_tfind. * Makefile.am (libeu_a_SOURCES): Add eu-search.c. Signed-off-by: