jsf.js: readability and performance improvements
------------------------------------------------
Key: MYFACES-3357
URL: https://issues.apache.org/jira/browse/MYFACES-3357
Project: MyFaces Core
Issue Type: Improvement
Affects Versions: 2.1.3, 2.0.9
Reporter: Werner Punz
Priority: Minor
We have long package names for every call to the inheritance and singleton,
Also we use our logging as extension to lang. Both costs performance, and in
case of extends sacrifices readability and filesize.
While I cannot wrap a function around the entire init process, I can
temporarily introduce global variables which remap the original long namespace
to a short one, and after being done, I can restore the original values again.
The Logging subframework will be moved into its own singleton, it does not make
sense to extend anymore given the size of lang. This also improves the
performance by 1-2% in development mode.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira