Issue Details (XML | Word | Printable)

Key: XSTR-401
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Assignee: Joerg Schaible
Reporter: Thomas Lorbeer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XStream

significant faster version of XmlFriendlyReplacer

Created: 25/May/07 06:35 AM   Updated: 25/Feb/08 05:01 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.3

File Attachments: 1. Java Source File XmlFriendlyReplacer.java (2 kB)



 Description  « Hide
source see attachement

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Guilherme Silveira added a comment - 25/May/07 11:55 AM
We need to replace StringBuilder with StringBuffer, because StringBuilder only exists as of java 1.5.
Can you provide us with some benchmark info? (random strings and memory comsumption would be just perfect)

Joerg Schaible added a comment - 24/Sep/07 06:27 PM
What means "significant faster"? The complete algorithm is also highly dependend on the processed data. After some own benchmarks (see the test code of the benchmark module) I've applied an optimized version of the current algorithm.

Joerg Schaible added a comment - 25/Feb/08 05:01 PM
Closing issues before next release.