mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 13:45:58 +00:00
ca7ae9bbef
- 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 |
||
---|---|---|
reactos | ||
rosapps | ||
rossubsys | ||
rostests | ||
wallpapers |