summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index c8e05ab..955258c 100644
--- a/README.md
+++ b/README.md
@@ -128,6 +128,10 @@ lowmemjson.NewEncoder(&lowmemjson.ReEncoder{
}).Encode(val)
```
+`*Encoder` and `*ReEncoder` both tend to make many small writes; if
+writes are syscalls, you may want to wrap their output in a
+`bufio.Writer`.
+
### Callee API
For defining Go types with custom JSON representations, `lowmemjson`