Release v1.4.21 with download engine performance optimizations
- Cache itemCount as class property instead of O(n) Object.keys().length on every emit/persist/UI update - Eliminate redundant iteration: hasQueuedItems now delegates to findNextQueuedItem - Remove expensive cloneSession from getSnapshot (IPC serialization handles the copy) - Increase speed events compaction threshold (50 → 200) to reduce array reallocations - Time-based UI emit throttling instead of per-percent progress checks - Avoid Array.from allocation in global stall watchdog - Optimize markQueuedAsReconnectWait to iterate only run items instead of all items - Cache pathKey computation in claimTargetPath loop (avoid path.resolve per iteration) - Use packageOrder.length instead of Object.keys(packages).length in getStats Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
1ba635a793
commit
d7162592e0
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "real-debrid-downloader",
|
||||
"version": "1.4.20",
|
||||
"version": "1.4.21",
|
||||
"description": "Real-Debrid Downloader Desktop (Electron + React + TypeScript)",
|
||||
"main": "build/main/main/main.js",
|
||||
"author": "Sucukdeluxe",
|
||||
|
||||
Reference in New Issue
Block a user