History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-4513
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: P1 P1
Assignee: Unassigned
Reporter: Amy Muntz
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Compiler Improvements to address performance

Created: 16/Aug/07 08:40 AM   Updated: 20/Aug/07 11:38 AM
Component/s: Compiler
Affects Version/s: 4.0.5WaffleCone
Fix Version/s: 4.0.5WaffleCone

Time Tracking:
Not Specified

Severity: Major
Fixed in Change#: 6,143
Runtime: N/A
Fix in hand: False


 Description  « Hide
Placeholder JIRA bug for current work in the compiler to address performance issues.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
P T Withington - 17/Aug/07 04:28 PM
r6134 | ptw | 2007-08-17 19:26:58 -0400 (Fri, 17 Aug 2007) | 33 lines
Changed paths:
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/compiler/Class.lzs
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/core/LzDefs.lzs
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/server/sc/src/org/openlaszlo/sc/Parser.jjt
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/server/src/org/openlaszlo/sc/CodeGenerator.java
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/server/src/org/openlaszlo/sc/Compiler.java
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptCompressor.java
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptGenerator.java

Change 20070817-ptw-3 by ptw@dueling-banjos.local on 2007-08-17 07:12:53 EDT
    in /Users/ptw/OpenLaszlo/wafflecone
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: Remove `make` trampoline from Class system

Bugs Fixed:
LPP-1605 'ctor precedence is wrong'
LPP-4365 'Adding prototype functions to builtin objects a bit broken'
LPP-4513 'Compiler Improvements to address performance'

Technical Reviewer: max (Message-ID: <46C62AAF.1070400@openlaszlo.org>)
QA Reviewer: hminsky (pending)

Details:
    LzDefs: Rework LzInheritedHash to not require .make.

    Class: Rework contstructors to call .initialize, .make retained
    for backwards-compatibility. Split out class validation code.

    Compiler: Remove passThroughNodes before dispatching. Print new
    expressions with correct associativity.

    JavascriptGenerator, JavascriptCompressor, CodeGenerator: Remove
    translation of new to .make

    Parser.jjt: Learn how to correctly parse a `new` expressions and
    maintain associativity.

Tests:
    smokecheck in swf7, swf8, dhtml

Mamye Kratt - 20/Aug/07 11:38 AM
(wafflecone branch local build r6155)
Tests succeed.