A collection of smaller speedups to compilation pipeline

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      I was looking at the compilation speed of mandreel.js with a profiler, and identified few small changes that improve the speed of compilation:
      - parsing a long constant in Lexer always threw a NumberFormatException as it first tried to parse it as int.
      - there was still a lot of string concatenation in debug() calls in MethodEmitter. Eliminated them all.
      - generating a name for labels for line numbers showed up on profiler's radar; the name was not really used.
      - repeated discovery of field getters/setters for structure classes when they were used in different maps. Introduced a class that caches them in a ClassValue associated with the structure class.

            Assignee:
            Attila Szegedi
            Reporter:
            Attila Szegedi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: