format/% should cache parsed format strings to avoid successive parses
----------------------------------------------------------------------
Key: JRUBY-6082
URL: https://jira.codehaus.org/browse/JRUBY-6082
Project: JRuby
Issue Type: Improvement
Components: Core Classes/Modules, Interpreter
Affects Versions: JRuby 1.6.4
Reporter: Thomas E Enebo
format/% should cache parsed format strings to avoid successive parses.
Most uses of format happen in a loop and it seems a shame to constantly reparse
what is generally a static format string.
This is more of a captured idea than a known perf problem. Someone should run
a typical Rails app and see how often format is being executed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email