mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
ca7ae9bbefbed255333057b1ff08e2d068f8c29b
- Attempt to speed up loading and displaying logs in EnumEventsThread: - Rewriting the code fix an infinite loop that could happen under low memory conditions (this potentially speeds things up quite a lot). - Remove ListView subclassing - sorry Hermès but not only it keeps constantly redrawing under Windows but also adds too much overhead. - Don't read the event log records one by one but in chunks of roughly 0x7ffff bytes (maximum size allowed). - Use poor man's "caching" of the event user name (optimizing/caching rest of the stuff in the loop didn't yield any significant speed up). Result: Loading ~40000 records under Win7 went from 4.5 minutes to 65 seconds. svn path=/trunk/; revision=73749
Description
A free Windows-compatible Operating System
528 MiB
Languages
C
86.9%
C++
10.7%
Python
0.7%
Assembly
0.5%
CMake
0.5%
Other
0.4%