Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a ThreadLocal to allow reusing parser instances #176

Merged
merged 2 commits into from
Mar 4, 2021
Merged

Use a ThreadLocal to allow reusing parser instances #176

merged 2 commits into from
Mar 4, 2021

Commits on Nov 16, 2017

  1. Use a ThreadLocal to allow reusing parser instances

    Currently scala-xml creates a new SAXParser instance every time. This
    is not very good for performance, but explained by the fact that
    SAXParser is not thread safe. We can greatly increase performance by
    using a ThreadLocal, giving each thread their own instance.
    fgoepel committed Nov 16, 2017
    Configuration menu
    Copy the full SHA
    d810bbf View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2021

  1. Configuration menu
    Copy the full SHA
    0aab600 View commit details
    Browse the repository at this point in the history