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

Summary: [PERF] Enumeration values are stored as string literals
Product: java Reporter: Svata Dedic <sdedic>
Component: UnsupportedAssignee: Martin Matula <mmatula>
Status: RESOLVED FIXED    
Severity: blocker Keywords: PERFORMANCE
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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