bridge-mc-connector-deque-over-list-for-event-buffer
The OpenAgents bridge mc_connector.py event buffer was using a Python list with pop(0), which is O(n) on every dequeue and causes unbounded memory growth under sustained load. Replace with collections.deque(maxlen=N): O(1) appendleft and O(1) popleft, with maxlen automatically evicting oldest events when capacity is reached — no manual trimming needed.