|
From: Neal R. <ne...@ri...> - 2003-02-01 01:25:17
|
I've posted a patch to String.cc with some simple changes with make a huge difference in efficiency. http://ai.rightnow.com/htdig/String.cc.patch Basically it involves trivial changes to eliminate redundant calls to s.length() in the same function. I used gprof to find this and the change makes a massive difference in the number of total calls to String.length() during a large spidering run. Please take a look and tell me if you object to any change. You'll need to download the patch and apply it to your htlib\String.cc I'll commit it next week if no one sees a problem. Thanks. Neal Richter Knowledgebase Developer RightNow Technologies, Inc. Customer Service for Every Web Site Office: 406-522-1485 |