https://bz.apache.org/bugzilla/show_bug.cgi?id=62453

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Created attachment 35975
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35975&action=edit
Patch for potential optimisation

Whilst I remember, using explicit imports rather than wildcard imports will
improve performance as well.

I am attaching a patch the implements an optimisation to reduce the need to
class loader lookups for the standard packages imported by all JSPs and tag
files.

The overall performance improvement is modest (about a factor of 3 for the
resolution). I'm not convinced that the performance improvement justifies the
ongoing maintenance. The classes need to be kept in sync or things could break.
That is a significant negative in my view.

At the moment, using explicit scopes looks like a much better solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to