"switch" optimization using OP_lookupswitch

RESOLVED FIXED

Status

RESOLVED FIXED
11 years ago
11 years ago

People

(Reporter: lhansen, Unassigned)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
Recognize dense switches on int values and generate OP_lookupswitch when applicable.
(Reporter)

Comment 1

11 years ago
Created attachment 297198 [details] [diff] [review]
Patch.  Depends on fixes to AST/parser to generate LiteralInt nodes.
Attachment #297198 - Flags: review?(tierney)

Updated

11 years ago
Attachment #297198 - Flags: review?(tierney) → review+
(Reporter)

Comment 2

11 years ago
Pushed (changeset 319).
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.