-
-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tachys): optimize AnyView + AddAnyAttr to reduce compile/link times
- Pre-erased `AddAnyAttr` output to `AnyView` to prevent excessive monomorphizations. - Introduced `DynValueAttr` to minimize deep generic recursion using dynamic dispatch. - Marked heavy generic functions with `#[inline(never)]` to reduce code bloat. - Ensured single dynamic call for attribute application to simplify logic and improve efficiency. This change attempts to address compile-time blow-ups and linker crashes for large projects using `AnyView` with dynamic attributes.
- Loading branch information
1 parent
7fc0c41
commit 19f80ef
Showing
1 changed file
with
81 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters