[engine] Directly use entries while scheduling

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

stuhood
pants
3528
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/

  1. LGTM!

  2. 
      
Review request changed

Status: Closed (submitted)

Change Summary:

Merged as 4af4ff0774b1b4629ca8574460ab71b7aae89090

  1. lgtm

  2. 
      
Loading...