This archive is retained to ensure existing URLs remain functional. It will not contain any emails sent to this mailing list after July 1, 2024. For all messages, including those sent before and after this date, please visit the new location of the archive at https://mailman.ripe.net/archives/list/db-wg@ripe.net/
performance patch
- Previous message (by thread): performance patch
- Next message (by thread): performance patch
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jan-Pieter Cornet
johnpc at xs4all.net
Tue Mar 17 23:24:47 CET 1998
Curtis Villamizar wrote: > I hope this is the right place to send a tiny patch. In any case, > this minor recoding makes the syntax check go a whole lot faster. I have no idea about the right place, however, being a strict perl devotee, I couldn't let the following slip by: > ! foreach $tmpword ( split("\\s+", "$tmppol") ) { *horrified*. I guess you normally use TCL where such constructs are normal? I'd write (which makes it even faster because the regexp needn't be compiled every time) foreach $tmpword ( split( /\s+/, $tmppol ) ) { Sorry for the extra intrusion, -- #! ##### Jan-Pieter Cornet ##### <johnpc at xs4all.net> ##### perl ++$_;$!=$_+++$_;($:,$,,$/,$*)=$!=~/.(.)...(.)(.).(.)/;$!=$_+$_; ($@,$\,$~)=$!=~/(.)(.).(.)/; $_="$,$/$:"; $@++; $~="$~$_";($_)= \$$=~/\((.)/;$|=++$_;$_++;$|++;$~="$~ $@$:";`$~$/$\$*$, $|>&$_`
- Previous message (by thread): performance patch
- Next message (by thread): performance patch
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[ db-wg Archives ]