On Wednesday 01 February 2006 21:54, Laz wrote:
Just done a quick test on my Epia MII-12000 system (whilst under heavy load running softdevice, etc. so the numbers are probably crap!):
laz@vdr-tng 2006-02-01.18.28.50.50.del $ ~/stmp 001.vdr Found 12721024 matches in 276.0596 seconds Found 12721024 matches in 201.9245 seconds
I'll try to test it again later when it has finished recording so it is more idle! With the above numbers, it looks like the memchr() is quite a bit faster, at least under these conditions!
And not under load: laz@vdr-tng 2006-02-01.18.28.50.50.del $ ~/stmp 001.vdr Found 12721024 matches in 47.0021 seconds Found 12721024 matches in 32.8197 seconds
memchr() definitely looks better for my Epia system.
I'll try Reinhard's new patch next...
Cheers,
Laz