Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
51cc7bb7
Commit
51cc7bb7
authored
Jul 23, 2012
by
Michal 'vorner' Vaner
Browse files
[2090] Comment on switch to bare pointers
parent
f9ff329a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/rbtree.h
View file @
51cc7bb7
...
...
@@ -304,6 +304,12 @@ private:
const
;
/// \name Data to maintain the rbtree structure.
///
/// We keep them as offset pointers. This is part of a future plan, when we
/// want to share the image of the tree between multiple processes.
/// However, whenever we have a chance, we switch to bare pointers during
/// the processing. The pointers on stack are never shared and the offset
/// pointers have non-trivial performance impact.
//@{
RBNodePtr
parent_
;
/// \brief Access the parent_ as bare pointer.
...
...
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