mirror of
https://github.com/neondatabase/neon.git
synced 2026-08-21 05:28:25 +00:00
0e026371ec
This adds a fast-path for the common case that the record doesn't cross a page boundary. We now split off a new Bytes directly from the original input buffer in that case, instead of copying the record to a new BytesMut. Shaves about 5% of the page server's CPU time on my laptop, in the 'test_bulk_insert' test.