Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ _build/

# coverage.py default output file
.coverage

# IDE cruft
.idea/
2 changes: 1 addition & 1 deletion docs/performance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Both of these approaches will be much faster than using `load/s()`, since
they avoid loading the parts of the document we didn't care about.

Both `Object` and `Array` have a `mini` property that returns their entire
content as a minified Python `str`. A message router for example would only
content as a minified Python `bytes`. A message router for example would only
parse the document and retrieve a single property, the destination, and forward
the payload without ever turning it into a Python object. Here's a (bad)
example:
Expand Down
4 changes: 2 additions & 2 deletions simdjson/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Object(Mapping[str, SimValue]):
...

@property
def mini(self) -> str:
def mini(self) -> bytes:
...


Expand All @@ -73,7 +73,7 @@ class Array(Sequence[SimValue]):
...

@property
def mini(self) -> str:
def mini(self) -> bytes:
...


Expand Down
Loading