sapling/eden/scm/edenscmnative/bindings/src
Jun Wu 08093da71d pybytes: convert Rust Bytes to Python buffer or memoryview
Summary:
This will be used by the next change.

The reason we use a `buffer` or `memoryview` instead of Python `bytes` is to expose
the buffer in a zero-copy way. That is important for startup performance.

Reviewed By: DurhamG

Differential Revision: D22303306

fbshipit-source-id: 3f7c8dff3575b998e025cd5940faa0c183b11626
2020-06-30 10:19:03 -07:00
..
lib.rs pybytes: convert Rust Bytes to Python buffer or memoryview 2020-06-30 10:19:03 -07:00