Memoize Address.__hash__ computation.

Review Request #1118 - Created Oct. 4, 2014 and submitted

Information
Patrick Lawson
pants
https://github.com/pantsbuild/pants/pull/635
d24c10c...
Reviewers
pants-reviews
ity, jsirois, zundel

I noticed during profiling that it is a major hotspot and a very easy
change. This is unsurprising: addresses are dictionary keys for many of
the fundamental structures in pants.

Travis is being flakey. ci.sh passed and a previous run of travis was green.

Patrick Lawson
John Sirois
Eric Ayers
Patrick Lawson
Patrick Lawson
Eric Ayers
Patrick Lawson
Patrick Lawson
Review request changed

Status: Closed (submitted)

Change Summary:

Thanks, submitted at 4091a48d7e7847606ce3920b79ef3c533a0280c3
Loading...