[engine] Directly use entries while scheduling

Review Request #3953 - Created May 30, 2016 and submitted

Information
Stu Hood
pants
3528
Reviewers
pants-reviews
jsirois, kwlzn, peiyu

Two relatively minor optimizations: about 11% total improvement.

  • Directly use Entry objects while scheduling, which avoids dict lookups on the ProductGraph.
  • Store memoized deps while inlining, which avoids re-computing things unnecessarily despite not storing them in the graph (lot more still to do here).

http://jenkins.pantsbuild.org/job/pantsbuild/job/pants/branch/PR-3528/

Nick Howard (Twitter)
Stu Hood
Review request changed

Status: Closed (submitted)

Change Summary:

Merged as 4af4ff0774b1b4629ca8574460ab71b7aae89090

Kris Wilson

lgtm

Loading...