logicsegment.cpp: Suggest inlining of pack_sample()/unpack_sample().
authorUwe Hermann <uwe@hermann-uwe.de>
Sat, 19 May 2018 18:36:39 +0000 (20:36 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Sat, 19 May 2018 18:51:13 +0000 (20:51 +0200)
commit97cb532f668dd78a5100abb07d7500cbd36b6198
treea86378b778d97129cbb6ee8e5e8d65d7c1d5b014
parent1ec3e43f7489cae3a9ca43e665044c8717f345f1
logicsegment.cpp: Suggest inlining of pack_sample()/unpack_sample().

These functions were not inlined by default (tested with gcc 7.3.0).
They're in a hot code path, so inlining can help with performance here.
pv/data/logicsegment.cpp