as_bundle() should cache the bundle digest

Bug #616458 reported by Gustavo Niemeyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Medium
Gustavo Niemeyer

Bug Description

FormulaDirectory.as_bundle() will create a formula bundle, and to make it unique it will use the digest of the bundle itself. This information (the digest) is slightly expensive to compute, and is necessary further on by the callers of the as_bundle() argument. The FormulaBundle should offer a way to cache this value so that it's not recomputed when something like e.g. FormulaBundle.get_digest() is called.

Tags: spike

Related branches

Changed in ensemble:
status: New → Confirmed
importance: Undecided → Medium
Changed in ensemble:
status: Confirmed → In Progress
assignee: nobody → Gustavo Niemeyer (niemeyer)
Changed in ensemble:
milestone: none → 0.1
Changed in ensemble:
status: In Progress → Fix Committed
Changed in ensemble:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.