Performance: Only dereference shmp once
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 19 Sep 2016 01:38:38 +0000 (21:38 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 24 Sep 2016 14:56:40 +0000 (10:56 -0400)
commitd2fe4771f15b6e50969bea1d7fcd74edca307de3
tree7debe87eb959115faeb40f8e0c898164e9f89fc8
parentf52a5702dbeb8125ca373ba363b29cbff3042cc1
Performance: Only dereference shmp once

Dereferencing shared-memory pointers is expensive: many bound checks are
performed. Ensure the shmp is only dereferenced once in the commit
fast-path.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libringbuffer/frontend_api.h
libringbuffer/frontend_internal.h
libringbuffer/ring_buffer_frontend.c
This page took 0.027077 seconds and 4 git commands to generate.