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 - New BTree page for small MOF IDs
Summary: New BTree page for small MOF IDs
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-28 13:01 UTC by Martin Matula
Modified: 2002-10-17 11:30 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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