open-webui/src/lib
Classic298 576ee92438
perf: rewrite createMessagesList from recursive to iterative (#22194)
Replace the recursive spread-based implementation with an iterative
push+reverse approach. The recursive version created a new array at
each level of recursion via spread, resulting in O(d^2) array copies
where d is the conversation depth. The iterative version walks from
the target message to the root, pushes each message, and reverses
once at the end for O(d) total work.

No behavioral change - same input produces the same output array.
2026-03-06 15:36:13 -06:00
..
apis feat: notebook per-cell execution via open-terminal REST endpoints 2026-03-05 16:08:11 -06:00
components refac 2026-03-06 15:29:38 -06:00
constants enh: access grant level perms 2026-02-23 15:49:05 -06:00
i18n Update fi-FI translation.json (#22328) 2026-03-06 13:45:56 -06:00
pyodide wip: pyodide kernel 2025-02-04 21:02:11 -08:00
stores fix: fix memory leaking in Chat.svelte (#21962) 2026-03-01 15:04:47 -05:00
types chore: format 2024-08-26 15:38:42 +02:00
utils perf: rewrite createMessagesList from recursive to iterative (#22194) 2026-03-06 15:36:13 -06:00
workers fix(frontend): Attempt to resolve TypeError in RichTextInput.svelte 2025-08-03 22:36:08 -04:00
constants.ts feat: default model metadata & params 2026-02-22 16:54:34 -06:00
dayjs.js chore: format 2025-11-23 20:15:52 -05:00
emoji-groups.json feat: emoji picker 2024-12-30 02:20:09 -08:00
emoji-shortcodes.json feat: emoji picker 2024-12-30 02:20:09 -08:00
index.ts chat feature added 2023-10-08 15:38:42 -07:00
shortcuts.ts feat: dictation toggle 2026-02-23 02:54:53 -06:00