Commit Graph

5 Commits

Author SHA1 Message Date
EdJoPaTo
bba94dcf88 perf(state): const get_open
no need for additional logic, its read only anyway

The only reason for this was to keep the API with less breaking changes.
Performance is more important.
2024-05-15 13:51:54 +02:00
EdJoPaTo
04ecf5388f docs(state): improve comments 2024-05-15 13:51:54 +02:00
EdJoPaTo
537dc8021e perf(flatten): fewer clones 2024-05-15 13:49:50 +02:00
EdJoPaTo
fdd2c5436a feat!: cache last tree structure to simplify events
Things like key up/down dont require the items anymore to be used.
Instead a cached last state from last render is used.
2024-05-15 12:49:37 +02:00
EdJoPaTo
a60eb5266b refactor: simplify docs and LSP hints with names exactly as exported 2024-03-14 11:55:10 +01:00