Skip to content

Perdanga11 v1.3

Choose a tag to compare

@PerdangaSoftware PerdangaSoftware released this 29 Sep 06:23
· 57 commits to main since this release
  1. Performance and Hook Optimizations
  • Hooks.hpp / MenuWindow.hpp:
    • Removed synchronous registry lookups (RegQueryValueExW) from the
      critical path in LowLevelMouseProc.
    • Taskbar alignment updates now rely exclusively on the
      background kernel event listener (RegNotifyChangeKeyValue), eliminating
      hook callback latency and preventing system-level hook drops.
  • AppIndexer.hpp:
    • Migrated LevenshteinDistance and string prefix checks to use
      std::wstring_view.
    • Eliminated temporary heap allocations (std::wstring::substr) during
      multi-token and fuzzy matching.
  1. Memory & Resource Management
  • GDI Icon Cleanup:
    • Implemented explicit destruction of cached HICON handles via DestroyIcon
      in IconCache.
    • Hooked IconCache::Clear() into the application shutdown sequence in
      main.cpp to prevent GDI handle leaks.
  1. UI:
  • Optimized String Checks:
    • Replaced redundant wcslen() calls in UI event paths with direct
      null-terminator evaluations (str[0] != L'\0').