Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
585e4eef
Commit
585e4eef
authored
Dec 10, 2004
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Note that IF trees are new in 3.4.
parent
1cf1d931
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
trunk/doc/guide/modules.tex
trunk/doc/guide/modules.tex
+10
-9
No files found.
trunk/doc/guide/modules.tex
View file @
585e4eef
...
...
@@ -61,9 +61,9 @@ structures. There are variants of the data structures specialized to
integers, which are faster and use less memory. There
are five modules that handle the different variants. The first two
letters of the module name specify the types of the keys and values in
mappings -- O for any object, I for 32-bit signed integer, and
F for
32-bit C float. For example, the
\module
{
BTrees.IOBTree
}
module provides
a mapping with integer keys and arbitrary objects as values.
mappings -- O for any object, I for 32-bit signed integer, and
(new in
ZODB 3.4) F for 32-bit C float. For example, the
\module
{
BTrees.IOBTree
}
module provides
a mapping with integer keys and arbitrary objects as values.
The four data structures provide by each module are a BTree, a Bucket,
a TreeSet, and a Set. The BTree and Bucket types are mappings and
...
...
@@ -84,12 +84,13 @@ much better (logarithmic) worst-case time bounds, and the tree structure
is built out of multiple objects, which ZODB can load individually
as needed.
The four modules are named
\module
{
OOBTree
}
,
\module
{
IOBTree
}
,
\module
{
OIBTree
}
,
\module
{
IIBTree
}
, and
\module
{
IFBTree
}
. The two letter
prefixes are repeated in the data types names. The
\module
{
BTrees.OOBTree
}
module defines the following types:
\class
{
OOBTree
}
,
\class
{
OOBucket
}
,
\class
{
OOSet
}
, and
\class
{
OOTreeSet
}
. Similarly, the other four modules
each define their own variants of those four types.
The five modules are named
\module
{
OOBTree
}
,
\module
{
IOBTree
}
,
\module
{
OIBTree
}
,
\module
{
IIBTree
}
, and (new in ZODB 3.4)
\module
{
IFBTree
}
. The two letter prefixes are repeated in the data types
names. The
\module
{
BTrees.OOBTree
}
module defines the following types:
\class
{
OOBTree
}
,
\class
{
OOBucket
}
,
\class
{
OOSet
}
, and
\class
{
OOTreeSet
}
.
Similarly, the other four modules each define their own variants of those
four types.
The
\function
{
keys()
}
,
\function
{
values()
}
, and
\function
{
items()
}
methods on BTree and TreeSet types do not materialize a list with all
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment