dbus types are immutable, which is slowing us down.
Bug #1298127 reported by
Thomi Richards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Triaged
|
High
|
Unassigned |
Bug Description
All our attribute types derive from their dbus counterparts. The dbus types are immutable, which means the only way to set the 'name' and 'parent' objects is to make them type attributes, not instance attributes. However, that means making a new type every time we create an attribute, which is slow.
We have a cache in place, but we rarely use it since mostof the time, either the name or the parent has changed.
I'm filing this so it's on my radar to fix in the future.
tags: | added: ap-perf |
To post a comment you must log in.