gosh: Add bufferedPipe ReadFrom and WriteTo.

This is just a simple performance improvement; the exec package
and gosh use io.Copy to copy bytes between readers and writers,
and that gets a speedup if you implement ReadFrom and WriteTo
since we can avoid allocations.

Change-Id: Ib7029dd52556719cbad6b24545496a3063a55b1d
2 files changed
tree: cc310814a8b0e4d5d68b43de60e0c52407990551
  1. cmd/
  2. cmdline/
  3. dbutil/
  4. envvar/
  5. gosh/
  6. host/
  7. ibe/
  8. metadata/
  9. netconfig/
  10. netstate/
  11. set/
  12. textutil/
  13. timing/
  14. toposort/
  15. vlog/
  16. .gitignore
  17. .godepcop
  18. AUTHORS
  19. CONTRIBUTING.md
  20. CONTRIBUTORS
  21. LICENSE
  22. PATENTS
  23. README.md
  24. VERSION
README.md

This repository contains general purpose libraries used by the Vanadium project. TEST