felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-2804) [Framework] Try to improve performance of parseDelimitedString() in manifest parser
Date Tue, 25 Jan 2011 21:59:44 GMT
[Framework] Try to improve performance of parseDelimitedString() in manifest parser
-----------------------------------------------------------------------------------

                 Key: FELIX-2804
                 URL: https://issues.apache.org/jira/browse/FELIX-2804
             Project: Felix
          Issue Type: Improvement
          Components: Framework
    Affects Versions: framework-3.0.7
            Reporter: Richard S. Hall
            Priority: Minor
             Fix For: framework-3.2.0


Currently, we are using StringBuffer and appending one character at a time while parsing a
delimited string. As we discovered when implementing our custom manifest parser, such an approach
is not really very efficient. It is better to keep track of beginning/ending indexes and just
extracting strings as needed. We should probably do something similar here. It may not offer
great improvement, but this routine is used to parse pretty long import/export headers, so
you never know.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message