graphql-engine/server/src-lib/Hasura/RQL/DDL/Webhook
kodiakhq[bot] 3f3b19c565 server: tune builder runners, for ByteStrings we're about to send
`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
2022-12-07 06:01:08 +00:00
..
Transform server: tune builder runners, for ByteStrings we're about to send 2022-12-07 06:01:08 +00:00
Transform.hs server: delete the Cacheable type class in favor of Eq 2022-11-21 16:35:37 +00:00