Files
open-webui/backend
Classic298 2dca850cee perf: use set for O(1) lookup in insert_chat_files dedupe (#23800)
Convert chat_message_file_ids from list to set so the membership test
in the comprehension is O(1) instead of O(m), turning the dedupe from
O(n*m) into O(n+m). Also replace the redundant set([...]) with a set
comprehension.

https://claude.ai/code/session_01Le3NnqNhcgaJvFrDZGqmwe

Co-authored-by: Claude <noreply@anthropic.com>
2026-04-17 12:28:34 +09:00
..
2026-03-24 19:43:30 -05:00
2026-04-13 23:40:09 -05:00
2026-04-13 23:40:09 -05:00
2026-03-24 19:43:30 -05:00
2026-03-24 19:43:30 -05:00