summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-29 02:15:13 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-29 02:15:13 -0700
commit0b57145421e7e4f165f64e73ee7c5d8102945569 (patch)
tree25584309e42bb53469959a3725393bdbc8b225c7 /README.md
parentffee5c8516f3f55f82ed5bb8f0a4f340d485fa92 (diff)
parent7e00adcf43b18a22ffbbadc79b8681a5d871f448 (diff)
Merge branch 'lukeshu/quality'
This branch works to improve code quality, without making any substantive changes.
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`