> I found that
> 'rofile' structure in memory takes 72 bytes, which does not fit into 64
> byte cpu cacheline and consumes more processor cycles.

This patch has already been discussed and rejected in
<https://github.com/coreutils/gnulib/pull/21>.

Lessons to be learned:

1. Maintainability is more important than performance.

2. In order to achieve performance, one needs to do profiling and
   work on the hot spots. *Not* applying random micro-optimizations
   that don't have measurable impact.

Bruno




Reply via email to