Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: SCALATE-32
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Hiram Chirino
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Forge: Scalate

Scaml: Apply as many filters as possible at compile time

Created: 10/Feb/10 11:30 AM   Updated: 26/Mar/10 01:10 PM
Component/s: scalate-core
Affects Version/s: None
Fix Version/s: 1.2


 Description  « Hide
Scaml is applying filters at runtime. If no interpolation is being done, then the filter input is a string litteral, it might make more sense to run the filter at compile time against the litteral and compile in the filter result so that it does not need to get executed a runtime.

But since a filter could be dynamic (inserting stuff like the current date or a counter), then this optimization would need some kind of hint to know if it can be performed.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Hiram Chirino made changes - 22/Mar/10 05:39 PM
Field Original Value New Value
Priority Major [ 3 ] Minor [ 4 ]
Hiram Chirino made changes - 26/Mar/10 01:10 PM
Fix Version/s 1.2 [ 10842 ]