HomePhabricator

eet - dictionary - use rwlocks instead of spinlocks - better contention

Authored by raster on Nov 20 2018, 8:55 AM.

Description

eet - dictionary - use rwlocks instead of spinlocks - better contention

if the dict is contended on by lots of threads then a spinlock really
makes it slow. a rwlock gets about 1.5-2x speedup depending on
arch/thread count.

@optimize