wspr: Share an encoder and decoder for all js clients.

This improves RPC performance by 50% because the most expensive part
of making an rpc is encoding the type message.  This is really an
interim change, since the real solution is to have a separate type
flow that is shared by all messages from wspr to go.

This improves: https://github.com/vanadium/issues/issues/421

MultiPart: 2/3
Change-Id: Id9ebe77fbe04c143b2728af24003082d810d7ff4
3 files changed
tree: bc39e612614110261b42aefc9524dc7e06e34968
  1. cmd/
  2. envvar/
  3. examples/
  4. internal/
  5. lib/
  6. profiles/
  7. services/
  8. test/
  9. .gitignore
  10. AUTHORS
  11. CONTRIBUTORS
  12. LICENSE
  13. PATENTS
  14. README.md
  15. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.