hixxy :*
we could also use /loadbuf -a here :P
True cheers

have you considered that mIRC is not a low level language and that it can often be rather futile to try and map a block of mIRC script onto a set of low level operations? this is why we conduct tests such as benchmarking in addition to merely conceptualizing since the latter method of analysis can fall short unexpectedly.
This hits the nail on the head really.
In theory the file handling method should be faster than using /filter and $lines(), because mIRC has less data to read from the file using the former method.. but when you consider the overhead of mIRC having to interpret a few extra lines of code, including a while loop, then it tends to be a lot faster to use /filter, which is just a single command that calls a lot of low level (fast) file handling routines.