Skip to content

Conversation

@timunie
Copy link

@timunie timunie commented Dec 21, 2025

Warning

This PR cannot be merged as is, since it affects also auto-generated parts.

This PR makes:

  1. Trimming and AOT friendly impl
  2. Adding Geometry-Cache which reduces the need of parsing icons over and over again. 100 icons can be cached by default but it is configureable
  3. DataIndex moved to core --> Easy API to add more icons by user.

at this point we shouldn't worry about netstandard too much, since Avalonia v12 will remove support for it and we don't have to maintain it at this point.
/!\ technically this is a breaking change for anyone having a custom style. But since the flipped icon would be wrong anyways, this should be acceptable.
This should help for Apps that references the all icon pack but only uses a handful of items.

The parallel-foraech didn't gain much because of it's own overhead.
@AppVeyorBot
Copy link

@punker76 punker76 added the enhancement New feature or request label Jan 12, 2026
@timunie
Copy link
Author

timunie commented Jan 12, 2026

it was working before the label was added 🤔

@AppVeyorBot
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants