Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Issue 7541050: Optimization: Remove empty FallthroughState states. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by usrbincc
Modified:
13 years, 2 months ago
Reviewers:
peterhal, slightlylate, arv
CC:
traceur-compiler-reviews_googlegroups.com
Base URL:
https://code.google.com/p/traceur-compiler/@master
Visibility:
Public.

Description

Optimization: Remove empty FallthroughState states. BUG=None TEST=None

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -0 lines) Patch
M src/codegeneration/generator/CPSTransformer.js View 1 chunk +24 lines, -0 lines 2 comments Download
M src/codegeneration/generator/GeneratorTransformer.js View 1 chunk +4 lines, -0 lines 1 comment Download

Messages

Total messages: 3
usrbincc
Another one that I've let sit too long. This patch doesn't make as big a ...
13 years, 2 months ago (2013-03-23 21:37:18 UTC) #1
arv
LGTM I changed the continue to if/else before committing. Committed as aa3ae4930eeb9c46445924393d771c573ac79058 https://codereview.appspot.com/7541050/diff/1/src/codegeneration/generator/CPSTransformer.js File src/codegeneration/generator/CPSTransformer.js ...
13 years, 2 months ago (2013-03-24 15:01:53 UTC) #2
usrbincc
13 years, 2 months ago (2013-03-25 18:29:52 UTC) #3
https://codereview.appspot.com/7541050/diff/1/src/codegeneration/generator/CP...
File src/codegeneration/generator/CPSTransformer.js (right):

https://codereview.appspot.com/7541050/diff/1/src/codegeneration/generator/CP...
src/codegeneration/generator/CPSTransformer.js:432: for (i = 0; i <
newStates.length; i++) {
Oops, just realized this for loop is O(n^2). I'll fix this in a
follow-up.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b