To deliver new visual features to our application in reasonable time, we must be able to quickly see the results of our changes. Now the greatest obstacle is the long compilation time. We may also consider extracting some assets (like style sheet) so the compilation would not be always required.
First, we should track where most time is spent during compilation and prioritize accordingly. Below is an initial list of ideas of what might be an improvement.
### Ideas
- [ ] https://github.com/enso-org/enso/issues/7043
- [ ] Reduce number of generics; instantiate some or replace with dyn's.
- [ ] Split `enso-gui` into smaller crates
- [ ] Remove or replace big dependencies.
- [ ] Load Stylesheet from file.
After GUI1 removal most of the points will be invalid, and the problem also lessened (I hope). If will ever have a problem with slow rust builds again, we should make new task (and new investigation).
To deliver new visual features to our application in reasonable time, we must be able to quickly see the results of our changes. Now the greatest obstacle is the long compilation time. We may also consider extracting some assets (like style sheet) so the compilation would not be always required.
First, we should track where most time is spent during compilation and prioritize accordingly. Below is an initial list of ideas of what might be an improvement.