Skip to content

Commit 47a43c3

Browse files
committed
Switch away from aligning the indexes to cacheline size by default
The users using the library on hosted platforms with multicore scenarios should pass it using the build system for extra performance. The performance impact of false sharing doesn't justify space inefficiency of instances for embedded users if they leave the library unconfigured.
1 parent 7c39318 commit 47a43c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lfbb/inc/lfbb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ extern "C" {
6262
/************************** DEFINE ****************************/
6363

6464
#ifndef LFBB_MULTICORE_HOSTED
65-
#define LFBB_MULTICORE_HOSTED true
65+
#define LFBB_MULTICORE_HOSTED false
6666
#endif
6767

6868
#ifndef LFBB_CACHELINE_LENGTH

0 commit comments

Comments
 (0)