Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 13356] config_query gets slower as CONFIGURE progresses

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • 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: 24 Dec 2006 17:31:10 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=13356





------- Additional Comments From iuso AT sourcemage.org 2006-12-24 11:31 -------
(In reply to comment #3)
> Does it make a difference? The times depend a lot on how many elements the
> string has, how many search terms, where the matches are (if there are
any)...
> Did you try to use it?

What do you mean by "does it make a difference"? I tried different cases,
like
searched for the word either in the beginning, in the middle, or in the end.
But I didn't concentrate on different scenarios too much because all the
results showed a more or less consistent 30x speed difference. It simply
seems
that 'echo | sed' is very heavy in comparison to [[ ]], and in list_find that
applies to any use case.

> Your idea looks great to me, I like the simplicity (beats my attempt :)).
> It
> needs to be tested for regressions though, this is very delicate code.

I can't agree more that we need a full review of different cases where this
might produce unwanted results.

--
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.




Archive powered by MHonArc 2.6.24.

Top of Page