mre/hyperjson

Use smallvec to avoid heap allocations

Open

#65 opened on Sep 21, 2019

 (0 comments) (0 reactions) (0 assignees)Python (41 forks)github user discovery
enhancementgood first issuehacktoberfesthelp wanted

Repository metrics

Stars
 (511 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

We should use smallvec for serializing/deserializing as it has the ability to use the stack for small vector allocations.

Noticed that orjson is doing the same.

Contributor guide