mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +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 |
||
---|---|---|
.. | ||
bench | ||
ci | ||
src | ||
test | ||
.gitignore | ||
cabal.project | ||
docker-compose.yml | ||
LICENSE | ||
Makefile | ||
pg-client.cabal | ||
README.md | ||
stack.yaml | ||
stack.yaml.lock | ||
weeder.dhall |
pg-client
A low level Postgres client library for Haskell. Used at Hasura in various production projects.
Style
This repository follows the graphql-engine
style guide.
Use make format
to run the formatter.