Skip to content

Commit 38289fe

Browse files
authored
Tweaking a sentence (simdjson#747)
1 parent f9337a1 commit 38289fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ cout << doc << endl;
3535
cout << doc2 << endl;
3636
```
3737

38-
It's not just internal buffers though. The simdjson library reuses the document itself. dom::element, dom::object and dom::array are *references* to the internal document.
38+
It's not just internal buffers though. The simdjson library reuses the document itself. The dom::element, dom::object and dom::array instances are *references* to the internal document.
3939
You are only *borrowing* the document from simdjson, which purposely reuses and overwrites it each
4040
time you call parse. This prevent wasteful and unnecessary memory allocation in 99% of cases where
4141
JSON is just read, used, and converted to native values or thrown away.

0 commit comments

Comments
 (0)