Files
open-webui/src
Classic298 a0d6c209c3 perf: fast-path token comparison in CodeBlock (#22101)
During streaming, every token change triggers a full JSON.stringify comparison on the code block token object. Add an O(1) fast-path check on token.text and token.raw — the fields that actually change during streaming — before falling back to the expensive JSON.stringify comparison for infrequent structural changes.
2026-03-01 13:37:10 -05:00
..
2026-02-25 20:17:39 -06:00
2023-10-08 15:38:42 -07:00
2026-02-22 18:58:47 -06:00
2026-02-28 21:28:59 -06:00