aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/systemd-user/gpg-agent-browser.socket
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-11-10 10:47:08 +0000
committerJustus Winter <[email protected]>2016-11-10 13:57:07 +0000
commitd3a98ff5bc972a4c9b01b9e5338a4a59b5b4ac48 (patch)
tree1120ba6d7f8317ce19d8a94315becabf783e8c5f /doc/examples/systemd-user/gpg-agent-browser.socket
parentgpgscm: Make the compile-hook configurable. (diff)
downloadgnupg-d3a98ff5bc972a4c9b01b9e5338a4a59b5b4ac48.tar.gz
gnupg-d3a98ff5bc972a4c9b01b9e5338a4a59b5b4ac48.zip
gpgscm: Reduce opcode dispatch overhead.
* tests/gpgscm/scheme.c (s_thread_to): New macro. (CASE): Likewise. (opexe_[0-6]): Use 'CASE' instead of 'case' statements, replace 's_goto' with 's_thread_to' where applicable. -- This is a straight-forward optimization that replaces 's_goto' in certain cases. Instead of returning to the calling function, and dispatching the next opcode, we can jump to the opcode handler. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'doc/examples/systemd-user/gpg-agent-browser.socket')
0 files changed, 0 insertions, 0 deletions