Skip to content

fix: slow binary XML decoding#4116

Merged
IgorEisberg merged 1 commit into
mainfrom
slow-axml
Apr 6, 2026
Merged

fix: slow binary XML decoding#4116
IgorEisberg merged 1 commit into
mainfrom
slow-axml

Conversation

@IgorEisberg
Copy link
Copy Markdown
Collaborator

Since we parse binary XML piece by piece while deflating, it's faster to wrap it with a buffered stream.
Other resource files are extracted as a whole (PNG is a special case with special handling in 9-patch decoder).

@IgorEisberg IgorEisberg enabled auto-merge (squash) April 6, 2026 12:14
@IgorEisberg IgorEisberg merged commit fe7d600 into main Apr 6, 2026
18 checks passed
@IgorEisberg IgorEisberg deleted the slow-axml branch April 6, 2026 12:17
@iBotPeaches iBotPeaches added this to the 3.0.2 milestone Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants