Skip to content

Commit 75196c4

Browse files
committed
Add comment
1 parent c29681a commit 75196c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/llil.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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
// ------------------------------------------------------------------------------------------
261263
template<size_t num_consumers>
262264
class llil_t {

0 commit comments

Comments
 (0)