Uploaded image for project: 'Forge: Scalate'
  1. Forge: Scalate
  2. SCALATE-32

Scaml: Apply as many filters as possible at compile time

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.2
    • Component/s: scalate-core
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              chirino Hiram Chirino
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development