creachadair / jrpc2

A Go implementation of a JSON-RPC 2.0 server and client.
BSD 3-Clause "New" or "Revised" License
62 stars 10 forks source link

Reorganize dispatch to streamline a common case. #70

Closed creachadair closed 2 years ago

creachadair commented 2 years ago

A typical request batch is one call, so front-load that case more aggressively. This yields a couple percentage points on steady-state benchmarks.