My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 3: OsgiVersionConverter could be faster without many regular expressions
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  mjryall@gmail.com
Closed:  Nov 2008


 
Project Member Reported by mjryall@gmail.com, Nov 25, 2008
Profiling of Confluence start-up showed that the
DefaultOsgiVersionConverter was spending a lot of time converting version
numbers into OSGi format.

What steps will reproduce the problem?
1. Run a lot of conversions through DefaultOsgiVersionConverter (like say
10000)
2. It takes a long time.

I think it's possible to rewrite this class to use iterative methods of
String splitting and concatenation rather than regular expressions. Regexes
can take polynomial time.

See also:  issue 2 .
Nov 25, 2008
Project Member #1 mjryall@gmail.com
(No comment was entered for this change.)
Status: Fixed
Labels: Performance

Powered by Google Project Hosting