Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.0.0-M8 (2.0.0.v20130628)
-
None
-
None
-
None
Description
Processing huge LDIF file is likely to take an enormous amount of time. The parser works in a way that we frequently fetch a char from a StringBuffer, to remove it later. When you have a 1Mb file, that induces the copy of a 1Mb array every time we don't need the char we just read.
Typically, parsing a 1 237 chars file, the noRead() method is called 393 times, and it calls the System.arrayCopy() the same number of time.