File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ namespace lf = boost::lockfree;
233233// ------------------------------------------------------------------------------------------
234234// ideas
235235// -----
236- // do a first pass that
236+ // * do a first pass that
237237//
238238// - gather string length counts (each thread has an array `size_t lengths[256]` which are
239239// merged at the end)
@@ -257,6 +257,8 @@ namespace lf = boost::lockfree;
257257//
258258// and the `string_cnt` used to do the find() in the map should be pointing to the string
259259// in the block (no copy), so no string alloc for duplicate strings
260+ //
261+ // * use arena allocator (no need to free until the end)
260262// ------------------------------------------------------------------------------------------
261263template <size_t num_consumers>
262264class llil_t {
You can’t perform that action at this time.
0 commit comments