I'm wondering... is it worth using `ImageVector` o...
# compose
p
I'm wondering... is it worth using
ImageVector
over
xml
icons? As
ImageVector
I mean generated vector path code, like M3 does it for example (
Icons.Default.Arrow
). Other than theme related benefits, I guess they should be more performant, since xml doesn't need to be parsed?
y
An internal app saw good wins by switching to ImageVector from XML. This was the fave icon.
p
Do you mind expanding a bit on your answer? What do you mean by good wins?
y
5-10% improvement in a scroll focused benchmark. A lazy column with simple items that included an icon.
😮 1
p
That's interesting, thanks for sharing