Skip to content

Problem with overlapped-lists that is enabled by the dependency #885

Open

Description

@pacak

So we are using quick-xml to parse a bunch of big (tens if megabytes) xml files. Works great, easy to use. pretty fast to run - under a second in release mode. And it slows down to a crawl (parsing takes several hours) when one of our dependencies enables overlapped-lists - which gets propagated to our code due to dependency unification.

Is there any way to disable overlapped-lists functionality for one specific deserializer?

Current workaround is for our code to depend on an older version of quick-xml, but it causes its own problems.

Activity

  1. Mingun commented on Jul 27, 2025

    @Mingun
    Collaborator

    No, currently that is impossible. The best solution would to contribute to your dependencies to disable overlapped-lists (and encoding) features, because they are inteded to use by applications and not library code.

    You may open a PR that will add option to deserializer to disable ability to buffer events.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions