Skip to content
Snippets Groups Projects
Commit 5026c087 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

tree-index-opt: make struct key_def an independent member of struct space

Code review fixes for branch tree-index-opt:
to avoid unnecessary copying and settle the issue of
ownership of key_def structures, move their ownership
to struct space.

Now Index uses its key_def by pointer, and all key_defs are
allocated and freed separately in struct space
allocation/deallocation functions.

Fix coding style (use Lisp/Emacs style function
call style, as per LKML which we follow).
parent 9ef8211c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment