[beta] select_group dead slow
Christian Ebert <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Organization | Black Trash Productions <http://www.blacktrash.org/> |
| Message-ID | <[email protected]> |
Hello,
$ slrn --version
Slrn 0.9.8.1pl2 [2005-02-17]
* Note: This version is a developer preview.
S-Lang Library Version: pre2.0.7-52
Compiled at: Aug 30 2006 23:39:59
Operating System: Darwin
COMPILE TIME OPTIONS:
Backends: +nntp -slrnpull -spool
External programs / libs: -canlock -inews -ssl -uudeview
Features: +charset_mapping +decoding +emphasized_text +end_of_thread
+fake_refs +gen_msgid -grouplens -msgid_cache +piping +rnlock +slang
+spoilers -strict_from
DEFAULTS:
Default server object: nntp
Default posting mechanism: nntp
$ leafnode -V
leafnode 2.0.0.alpha20060826a
Since installing leafnode2 select_group w/o prefix is dead slow.
About 50 headers in at least 2 secs.
The reasons I am posting here first instead of leafnode-list are:
1) select group w/ prefix arg 4 is as fast as before.
2) the following select_group_hack is almost as fast as
select_group used to be:
static define enter_total ()
{
variable cutoff = get_variable_value ("query_read_group_cutoff");
set_integer_variable ("query_read_group_cutoff", 0);
set_prefix_argument (4);
call ("select_group");
reset_prefix_arg ();
set_integer_variable ("query_read_group_cutoff", cutoff);
}
static define select_group_hack ()
{
enter_total ();
call ("expunge");
}
3) tin doesn't have any probs ;(
Any pointers or ideas are very welcome.
c
--
_B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642