Skip to content

UniPro Pull Request: Performance Fixes#4

Open
nsidelnikov wants to merge 4 commits intoatolstykh:masterfrom
nsidelnikov:master
Open

UniPro Pull Request: Performance Fixes#4
nsidelnikov wants to merge 4 commits intoatolstykh:masterfrom
nsidelnikov:master

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