Skip to content

Conversation

@macvincent
Copy link
Contributor

Differential Revision: D89933055

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 30, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 30, 2025

@macvincent has exported this pull request. If you are a Meta employee, you can view the originating Diff in D89933055.

macvincent added a commit to macvincent/nimble that referenced this pull request Dec 30, 2025
Summary: Pull Request resolved: facebookincubator#391

Differential Revision: D89933055
macvincent added a commit to macvincent/nimble that referenced this pull request Dec 30, 2025
Summary: Pull Request resolved: facebookincubator#391

Differential Revision: D89933055
macvincent added a commit to macvincent/nimble that referenced this pull request Dec 30, 2025
Summary:

Adds per-stream string buffer support to Nimble's StreamData infrastructure. Previously, string data buffers were managed externally, but now each MutableStreamData instance can own its own Buffer for string content, enabling better memory isolation and lifecycle management with chunking.

Differential Revision: D89933055
macvincent added a commit to macvincent/nimble that referenced this pull request Dec 30, 2025
Summary:

Adds per-stream string buffer support to Nimble's StreamData infrastructure. Previously, string data buffers were managed externally, but now each MutableStreamData instance can own its own Buffer for string content, enabling better memory isolation and lifecycle management with chunking.

Differential Revision: D89933055
macvincent added a commit to macvincent/nimble that referenced this pull request Dec 30, 2025
Summary:

Adds per-stream string buffer support to Nimble's StreamData infrastructure. Previously, string data buffers were managed externally, but now each MutableStreamData instance can own its own Buffer for string content, enabling better memory isolation and lifecycle management with chunking.

Differential Revision: D89933055
macvincent added a commit to macvincent/nimble that referenced this pull request Jan 5, 2026
Summary:

Adds per-stream string buffer support to Nimble's StreamData infrastructure. Previously, string data buffers were managed externally, but now each MutableStreamData instance can own its own Buffer for string content, enabling better memory isolation and lifecycle management with chunking.

Differential Revision: D89933055
macvincent added a commit to macvincent/nimble that referenced this pull request Jan 5, 2026
Summary:

Adds per-stream string buffer support to Nimble's StreamData infrastructure. Previously, string data buffers were managed externally, but now each MutableStreamData instance can own its own Buffer for string content, enabling better memory isolation and lifecycle management with chunking.

Differential Revision: D89933055
macvincent added a commit to macvincent/nimble that referenced this pull request Jan 6, 2026
Summary:

Adds per-stream string buffer support to Nimble's StreamData infrastructure. Previously, string data buffers were managed externally, but now each MutableStreamData instance can own its own Buffer for string content, enabling better memory isolation and lifecycle management with chunking.

Differential Revision: D89933055
macvincent added a commit to macvincent/nimble that referenced this pull request Jan 6, 2026
Summary:

Adds per-stream string buffer support to Nimble's StreamData infrastructure. Previously, string data buffers were managed externally, but now each MutableStreamData instance can own its own Buffer for string content, enabling better memory isolation and lifecycle management with chunking.

Differential Revision: D89933055
macvincent added a commit to macvincent/nimble that referenced this pull request Jan 6, 2026
Summary:

Adds per-stream string buffer support to Nimble's StreamData infrastructure. Previously, string data buffers were managed externally, but now each MutableStreamData instance can own its own Buffer for string content, enabling better memory isolation and lifecycle management with chunking.

Differential Revision: D89933055
Summary:

Adds per-stream string buffer support to Nimble's StreamData infrastructure. Previously, string data buffers were managed externally. This diff introduces a `StringBuffer` class that gives each `MutableStreamData` instance ownership of its string content. By storing the raw character data and lengths directly within the stream, the chunker can now safely compact strings during compact() operations without relying on external buffer lifetimes. This enables incremental memory reclamation as chunks are written, which is particularly beneficial for string-heavy tables where the shared buffer would otherwise grow unbounded until stripe flush.

Differential Revision: D89933055
macvincent added a commit to macvincent/nimble that referenced this pull request Jan 6, 2026
Summary:

Adds per-stream string buffer support to Nimble's StreamData infrastructure. Previously, string data buffers were managed externally. This diff introduces a `StringBuffer` class that gives each `MutableStreamData` instance ownership of its string content. By storing the raw character data and lengths directly within the stream, the chunker can now safely compact strings during compact() operations without relying on external buffer lifetimes. This enables incremental memory reclamation as chunks are written, which is particularly beneficial for string-heavy tables where the shared buffer would otherwise grow unbounded until stripe flush.

Differential Revision: D89933055
macvincent added a commit to macvincent/nimble that referenced this pull request Jan 6, 2026
Summary:

Adds per-stream string buffer support to Nimble's StreamData infrastructure. Previously, string data buffers were managed externally. This diff introduces a `StringBuffer` class that gives each `MutableStreamData` instance ownership of its string content. By storing the raw character data and lengths directly within the stream, the chunker can now safely compact strings during compact() operations without relying on external buffer lifetimes. This enables incremental memory reclamation as chunks are written, which is particularly beneficial for string-heavy tables where the shared buffer would otherwise grow unbounded until stripe flush.

Differential Revision: D89933055
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant