Skip to content
Snippets Groups Projects
Commit f2c98287 authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Roman Tsisyk
Browse files

vinyl: zap sdc struct

sdc is a buffer allocated in each worker thread and passed to worker
functions where it can be used to avoid malloc. Turns out it is only
used in vy_range_redistribute_index(), where only sdc->b (vy_buf) is
needed. And even that is dubious, because it isn't a hot path, so it'd
be OK to call malloc there directly. So let's kill this sdc struct.
parent e6b64e96
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