Remove the size-limit of items stored in the repository. Items were limited to the...
commit3a572f0b64f699b3562892a37d2e64b018ccdd54
authorzwabel <zwabel@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Sat, 18 Oct 2008 00:43:37 +0000 (18 00:43 +0000)
committerzwabel <zwabel@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Sat, 18 Oct 2008 00:43:37 +0000 (18 00:43 +0000)
tree4c1a7394ccd8f3b9c985229a1df31dd344094b37
parentf50054b5a09923b877dae7d845007a43c64ffcea
Remove the size-limit of items stored in the repository. Items were limited to the bucket-size. Now, when items are encountered that are bigger than a bucket, multiple buckets are merged to one "monsterbucket" of arbitrary size. Such a bucket can only hold exactly one item, and when item item is deleted, it is again split into multiple normal buckets.
The main part of this patch accidentally slipped into my last commit, but this actually makes it work properly(Extensively tested).
This should fix some inconsistency/assertion problems when very much duchain data was processed, and gives more flexibility to language authors.

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdevplatform@872738 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
language/duchain/repositories/itemrepository.cpp
language/duchain/repositories/itemrepository.h