Skip to content

Conversation

@amunra
Copy link
Collaborator

@amunra amunra commented Jun 17, 2025

Overview

Performance fix which avoids heap allocation when setting a new marker.
This change is a performance optimisation without any changes in functionality.

Context

Buffers can be wound back to a previous point using markers.

The markers remember and reset internal tracking state of the buffer, making easy to revert back to a previous condition after an error.
Saving a marker previously involved allocating memory for the table name.
We now internally only store the length of the table name instead.

N.B.:

@amunra amunra merged commit 15c1a6a into main Jun 17, 2025
2 of 11 checks passed
@amunra amunra deleted the remove_set_marker_alloc branch June 17, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants