mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
IMHO it is now a little clearer how this function works and it might be a little faster. Biggest change is that we now read 4k of the file at once instead of reading it in 64byte chunks. I doubt that this causes a lot more memory usage, because CFile instances usually dont live for long, but it should really lower the number of syscalls we need for reading a file. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1306 726aef4b-f618-498e-8847-2d620e286838
12 KiB
12 KiB