sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 13356] config_query gets slower as CONFIGURE progresses
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 13356] config_query gets slower as CONFIGURE progresses
- Date: 19 Sep 2007 19:28:07 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=13356
------- Additional Comments From jakakranjc AT email.si 2007-09-19 14:28 -------
It's not a bottleneck anymore, but perhaps it can be done even faster. The
next
algorithm could be faster when there is more than one search token. A
globless
take on the globbing approach:
local input="$1"
local token
shift
eval input=\" $input \" # to make all of it space delimited
for token in "$@"; do
[[ ${input/ $token /} != $input ]] && return 0
done
return 1
The speed gain or loss would probably be insignificant.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Sorcery-Bugs] [Bug 13356] config_query gets slower as CONFIGURE progresses, bugzilla-daemon, 09/19/2007
Archive powered by MHonArc 2.6.24.