Closed tledoux closed 1 year ago
When processing images (TIFF or JPEG) containing big amount (7Ko) of XMP data, the processing of the XML output takes more than 5 minutes !!!
Whe processing the same file but outputting in TEXT or JSON, the computing time is in seconds.
The encoding method for XML values goes through the values at least 5 times and uses a StringBuffer !!!
When processing images (TIFF or JPEG) containing big amount (7Ko) of XMP data, the processing of the XML output takes more than 5 minutes !!!
Whe processing the same file but outputting in TEXT or JSON, the computing time is in seconds.
The encoding method for XML values goes through the values at least 5 times and uses a StringBuffer !!!