Bug 146616 - [compiler] CodeStream could avoid reseting labelsCount
Summary: [compiler] CodeStream could avoid reseting labelsCount
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: performance
Depends on:
Blocks:
 
Reported: 2006-06-12 12:01 EDT by Philipe Mulet CLA
Modified: 2019-12-16 14:59 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2006-06-12 12:01:31 EDT
Build 3.2RC7

The field #labelsCount could be left alone, until a new label is recorded (in which case reset to 0 if new label placed at different position than last recorded).

Also #goto() would reset the labelsCount to 0, if no label available at current position. 

This would save one field assignment from almost every bytecode instruction.
Comment 1 Jerome Lanneluc CLA 2007-04-02 12:15:07 EDT
Nice to have. Will consider post 3.3.
Comment 2 Eclipse Genie CLA 2019-12-16 14:59:40 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.