~kissiel/checkbox/speed-optimization

Viewing all changes in revision 4519.

  • Committer: Maciej Kisielewski
  • Date: 2016-10-04 12:13:49 UTC
  • Revision ID: maciej.kisielewski@canonical.com-20161004121349-azuj0ozkkah3d8ob
plainbox:unit: reuse sha256 has for __hash__ and cache it

This is somewhat different from plainbox unit checksum, which is a sha256
digest. This cache is for skipping parsing of sha256 to integer.

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: