From 75196c4dd8e4164eb50dedd66d2c253d910caaa0 Mon Sep 17 00:00:00 2001 From: greg7mdp Date: Thu, 4 Sep 2025 18:19:46 -0400 Subject: [PATCH] Add comment --- examples/llil.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/llil.cc b/examples/llil.cc index 2091cec..4e9870a 100644 --- a/examples/llil.cc +++ b/examples/llil.cc @@ -233,7 +233,7 @@ namespace lf = boost::lockfree; // ------------------------------------------------------------------------------------------ // ideas // ----- -// do a first pass that +// * do a first pass that // // - gather string length counts (each thread has an array `size_t lengths[256]` which are // merged at the end) @@ -257,6 +257,8 @@ namespace lf = boost::lockfree; // // and the `string_cnt` used to do the find() in the map should be pointing to the string // in the block (no copy), so no string alloc for duplicate strings +// +// * use arena allocator (no need to free until the end) // ------------------------------------------------------------------------------------------ template class llil_t {