syn icon indicating copy to clipboard operation
syn copied to clipboard

Take inspiration from nsync

Open ysbaddaden opened this issue 10 months ago • 0 comments

The nsync library relies on an internal rwlock. It only requires an UInt32 integer and it's filled with smart ideas to implement very efficient mutexes, rwlocks and condition variables.

So efficient that benchmarks must explicitly set the CPU into performance mode, otherwise the OS governor will keep the it in powersave mode, and make it feel like it's damn slow 😅

ysbaddaden avatar Mar 06 '25 17:03 ysbaddaden