#459 HIGH: Performance - list() to tuple() conversions

closed high Created 2025-12-17 00:17 · Updated 2025-12-17 00:22

Description

Edit
Unnecessary list allocations: 1. list(dict.keys())[-1] -> tuple (inline_executor.py:690,893) 2. list(self._tools.keys()) -> tuple (registry.py:262,273) 3. list(reversed(...)) -> tuple (durable_context.py:1880) 4. list(spawned_tasks.keys()) -> tuple (operators.py:616) Impact: Memory savings, immutability signaling.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...