Attribute searches are inefficient
Bug #321181 reported by
Cory Dodt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hypy |
Fix Released
|
Medium
|
Cory Dodt | ||
1.0+or+bust |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Attribute searches take longer than they need to tak.
(need steps to reproduce)
- In a typical application, speedup is 2x.
From Jamieson:
"""
currently, every attribute level search also requires a full-text body
search, i.e., "*.**" fix is easy:
def __init__(self, phrase="", matching='simple', max=None, skip=None):
if phrase:
(instead of..)
def __init__(self, phrase, matching='simple', max=None, skip=None):
self.
"""
Changed in hypy: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Jamie: could you add a simple timing benchmark to this case so I can reproduce it more easily?