yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #14740
[Bug 1323770] [NEW] driver_hints.Hints implementation could be optimized
Public bug reported:
Throughout the code-base the Hints class was not actually being used as
a list, as it was previously implemented. Besides this, the limit
"filter" or attribute to filtering, was being included and used in a
completely different way. So what this does is separate the logic to
remove the need of iterating the whole filter list each time we need to
use "limit", and treat it as a separate attribute inside the class.
The implementation is slower than it needed to be due to the looping
required to find hints.
** Affects: keystone
Importance: Undecided
Assignee: Juan Antonio Osorio Robles (juan-osorio-robles)
Status: New
** Changed in: keystone
Assignee: (unassigned) => Juan Antonio Osorio Robles (juan-osorio-robles)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1323770
Title:
driver_hints.Hints implementation could be optimized
Status in OpenStack Identity (Keystone):
New
Bug description:
Throughout the code-base the Hints class was not actually being used as
a list, as it was previously implemented. Besides this, the limit
"filter" or attribute to filtering, was being included and used in a
completely different way. So what this does is separate the logic to
remove the need of iterating the whole filter list each time we need to
use "limit", and treat it as a separate attribute inside the class.
The implementation is slower than it needed to be due to the looping
required to find hints.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1323770/+subscriptions
Follow ups
References