最后活跃于 1789263888

ZZ's Avatar ZZ 修订了这个 Gist 1786340958. 转到此修订

1 file changed, 10 insertions, 1 deletion

Qwen36-MTP-System-Power.md

@@ -10,4 +10,13 @@ Video Decode/Encode 🔋🔋🔋🔋 Pause while hidden
10 10 Clipboard/OS Sync 🔋 Event-driven only
11 11 Background Audio 🔋 Safe to run continuously
12 12 Timers/State Stores 🔋 Negligible
13 - ```
13 + ```
14 + Key Concepts for concurrency/execution options:
15 + • call_deferred: Schedules a method to run at the end of the current frame/physics step. Good for safe scene tree manipulation, avoiding "node doesn't exist
16 + yet" errors.
17 + • await: Godot 4's async/await pattern. Replaces yield. Used for non-blocking waits (signals, timers, functions returning Future). Keeps main thread
18 + responsive.
19 + • Signals: Native Godot event system. Decouples systems, enables reactive UI/engine updates without polling. Essential for multi-tab state management.
20 + • Threading (Thread/Callable.bind()/@thread_sync): For heavy CPU tasks (AI inference, network I/O) that shouldn't block the main thread.
21 + • Process Modes (PROCESS_MODE_ALWAYS, INHERIT, PAUSE): Controls when nodes update across different UI states (modals, hidden tabs).
22 + • State Machines / Context Managers: Managing tab switches, engine lifecycles, and background vs active states without race conditions.

ZZ's Avatar ZZ 修订了这个 Gist 1786340418. 转到此修订

1 file changed, 13 insertions

Qwen36-MTP-System-Power.md(文件已创建)

@@ -0,0 +1,13 @@
1 + ```
2 + 📊 Quick Energy Impact Reference
3 +
4 + Category Avg Power Draw Recommended BG Behavior
5 + ───────────────────────────────────────────────────────────────────────────
6 + AI Inference 🔋🔋🔋🔋🔋 Throttle rate; pause when idle
7 + 3D Physics/Rigidbodies 🔋🔋🔋🔋🔋 Disable off-tab; hard stop
8 + Multiplayer Netcode 🔋🔋🔋 Keep alive; reduce tick/packet rate
9 + Video Decode/Encode 🔋🔋🔋🔋 Pause while hidden
10 + Clipboard/OS Sync 🔋 Event-driven only
11 + Background Audio 🔋 Safe to run continuously
12 + Timers/State Stores 🔋 Negligible
13 + ```
上一页 下一页