Commit 51cc7bb7 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2090] Comment on switch to bare pointers

parent f9ff329a
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment