mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
3f3b19c565
`toLazyByteString` is a little deficient in two ways: - It allocates relatively large chunks (4KB + 32KB +32KB, etc…) which is wasteful for small ByteStrings - It shrinks each chunk (Copying the data to a new chunk of exactly the right size) if it's not more than half filled. If we're running the builder right before we send it over the wire, this copy is totally extraneous (we simply end up with more work for the next GC) part of the effort: https://github.com/hasura/graphql-engine-mono/issues/5518 PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7187 GitOrigin-RevId: b499cd49c33da6cfee96be629a36b5c812486e39 |
||
---|---|---|
.. | ||
Autodocodec | ||
Control | ||
Data | ||
Database/MSSQL | ||
GHC | ||
Hasura | ||
Net | ||
Network |