HomePhabricator

Compute string hashes early and cache them.
Audit RequiredrL314090

Description

Compute string hashes early and cache them.

This change alone speeds up linking of Clang debug build with -gdb-index
by 1.2 seconds, from 12.5 seconds to 11.3 seconds. (Without -gdb-index,
lld takes 8.5 seconds to link the same input files.)

Details

Auditors
Bigcheese
Committed
ruiuSep 24 2017, 6:42 PM
Parents
rL314089: Rename copy -> copyFrom.
Branches
Unknown
Tags
Unknown