This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 20429 - [PERF] Enumeration values are stored as string literals
Summary: [PERF] Enumeration values are stored as string literals
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Martin Matula
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2002-02-11 11:33 UTC by Svata Dedic
Modified: 2002-07-19 15:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2002-02-11 11:33:37 UTC
I am using extensively enumeration-typed attributes in my instances (most of
class members can have private/protected/public/package modifier, a
static/instance modifier and some can have regular/final/abstract modifier).
I observed that the values are stored as string literals in the MDR storage,
which is, decently said, a waste of space. Can it be improved or am I
misunderstanding some principles ?
Comment 1 Martin Matula 2002-03-06 20:00:37 UTC
fixed - enum literals are now stored as single integers