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 26843

Summary: New BTree page for small MOF IDs
Product: java Reporter: Martin Matula <mmatula>
Component: UnsupportedAssignee: Daniel Prusa <dprusa>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: ENHANCEMENT Exception Reporter:

Description Martin Matula 2002-08-28 13:01:44 UTC
Currently each MOF IDs takes 8 bytes in the b-tree, as the 
value of increment can be any "long" number. However in 
99% cases it would be sufficient to have MOF ID as "int". 
Thus it could save a lot of space in a BTree if there was 
a special page for short MOF IDs - if all the MOF IDs on 
the page would be smaller than MAX_INT, the small page 
would be used, if one of the MOF IDs would be "long", the 
page would be converted to the regular MOF ID page. This 
will save nearly 50% of space needed for storing 
associations and thus could save about 25% of global 
storage space.
Comment 1 Daniel Prusa 2002-10-17 11:30:31 UTC
implemented