Skip to content

Request: allow to avoid parsing resource table, or at least till it's needed #11

@AndroidDeveloperLB

Description

@AndroidDeveloperLB

For a lite usage of this library, only querying basic information about the manifest, you could avoid parsing the resource table, hence improving memory usage and speed of parsing by a huge amount of time.

For comparison, when commenting the "parseResourceTable" function content from ApkParser, I got these results:

Before change: 72,567 ms and up to 86MB of heap memory used for 230 apps, average time: 315ms per app.
After change: 28064 ms and up to 14MB of heap memory usage for the same 230 apps , average time: 122ms per app.

that's x2.5 faster , and x6 more memory friendly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions