Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 9391] summon seems to take forever

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 9391] summon seems to take forever
  • Date: Tue, 2 Aug 2005 20:52:27 -0700 (PDT)

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





------- Additional Comments From dmlb2000 AT gmail.com 2005-08-02 20:52 -------
I'm not a sorcery programmer, but a suggestion for speeding up url_get_prefix

function url_get_prefix() {
$STD_DEBUG
local URL=$1
local URL_PREFIX=${URL/:\/\/*}
[ -n "$URL_PREFIX" ] &&
echo $URL_PREFIX
}

calling sed is faster than awk but staying in bash is even faster ;)

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