]> git.ipfire.org Git - thirdparty/squid.git/commit
Fixed icons loading speed.
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 20 May 2016 18:16:19 +0000 (12:16 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Fri, 20 May 2016 18:16:19 +0000 (12:16 -0600)
commit5e051d48bb97f4209cee4573be4d9f3d5840ea8d
tree32f3b30d4d870cc1866a41be4893b1bfa70097ab
parent88a300cec83b0ba73fd55e15003530075ca186c3
Fixed icons loading speed.

Since trunk r14100 (Bug 3875: bad mimeLoadIconFile error handling), each
icon was read from disk and written to Store one character at a time. I
did not measure startup delays in production, but in debugging runs,
fixing this bug sped up icons loading from 1 minute to 4 seconds.
src/mime.cc