[engine] skip caching for native nodes
Review Request #3581 — Created March 17, 2016 and submitted
|kwlzn, patricklaw, stuhood|
Native nodes should not be cached.
- Introduces a
Enginewhich has one predicate today based on
items()interface for testing purpose, to allow iterate over all cached key, values.
Address Stu's comments.
Will submit once https://travis-ci.org/peiyuwang/pants/builds/116767699 passes.
Revision 2 (+80 -25)
Address comment from Kris, make a factory method to compute hash
Will submit once https://travis-ci.org/peiyuwang/pants/builds/116774228 is green
Revision 3 (+86 -26)