reduced threadlocal lookups
Merge remote-tracking branch 'origin/master'