[engine] using memoized to avoid repeated keying and unpickling
Review Request #3597 — Created March 23, 2016 and discarded — Latest diff uploaded
|kwlzn, patricklaw, stuhood|
This is yet another low hanging fruit but effective performance
In my manual testing
list 3rdparty::, improvement for cold cache is
about 50%, for fully warmed-up cache, it's sightly slower because of the
extra memoized check cost.
memoizedis only for now, there are various
implementations for py2 that we could use later, like  and 
or just switch to py3.