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

UniPro Pull Request: Performance Fixes #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

nsidelnikov
Copy link

These changes provide up to 30x speedup for big XML files.

Changes:

Removed redundant access to nodes' text content and prefix.
Optimized processText function to make the transformation in a single pass and operate with char arrays instead of strings.
Optimized removeNamespaces function to make the cleanup in a single pass.
Replaced some string operations with StringUtils functions

    Removed redundant access to nodes' text content and prefix.
    Optimized processText function to make the transformation in a single pass and operate with char arrays instead of strings.
    Optimized removeNamespaces function to make the cleanup in a single pass.
    Replaced some string operations with StringUtils functions
Changes:

    Removed redundant access to nodes' text content and prefix.
    Optimized processText function to make the transformation in a single pass and operate with char arrays instead of strings.
    Optimized removeNamespaces function to make the cleanup in a single pass.
    Replaced some string operations with StringUtils functions
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.

1 participant