Open
Description
- Try to integrate some Cheap tricks for high-performance Rust.
- Other optimization tips - johnthagen/min-sized-rust.
- Thoughts on Rust bloat
- Tips for Faster Rust Compile Times
- Optimize collections:
- Speed up
HashMaps
- e.g. use https://github.com/cbreeden/fxhash. - Speed up somehow also
BTreeMap
s andIndexMap
s. - Replace some collections with fst (?).
- Speed up
- Integrate
wasm-bindgen
-related optimizations: - Dependencies:
- Update.
- Remove unnecessary.
- Find better.
- Optimize them.
- Use compiler-specific "flags" like
#[inline(..)]
(?). - Integrate some general Rust optimization tips.
- Fix Visibility and Privacy.
- Add links to doc comments (once intra_rustdoc_links is stable).
- Check examples in docs comments by compiler (doc tests - Rust docs).
- Try to get rid of interior mutability as much as possible. Use, for instance, future-signals or crossbeam or flume.
- Replace
mpsc
with future-signals or crossbeam or flume (if possible). - Remove deprecated and redundant code / functions.
- Try to get rid of
Box
/Rc
where it doesn't affect public API. - Replace standard
Cow
with the beef one, if possible. - Profiling - Time Profiling, Size profiler. (Benchmarks).
- Parallelization?
- Lazy-load parts of an app (Question: Is it possible to load parts of an app dynamically? #246).
- Virtual DOM:
- "VDOM related issues / todos" - VirtualDOM related issues / todos #293.
- Use another strategy / VDOM alternative (?) - see:
- Memoized DOM
- Signals (mika, dominator, futures-signals)
- Imba - Why is Imba so fast?
- Svelte - basics
- Dodrio
- Moxie
- Refactor.
- Reduce
web_sys
calls. - Unchecked casts.
- Make
Node
cacheable? (Related - Performance / View Caching potential #443) - Implement VDOM-specific optimizations - keyed elements, don't rerender when data hasn't been changed, etc.
- See Refactor christian-schilling/seed-quickstart#1 for some info.
- [Add more]
- Refactor/improve
App
initialization - Mount takeover behavior concerns. #277. - Implement custom
Debug
s. - Macros should be as short as possible (?) - fix: C macro memory issue #455
- Refactor
Makefile.toml
(see the quickstart's one). - Would immutable structures help?