Experimental browser for the Atmosphere
This is always a tradeoff, do you want fast zero-copy slicing or do you want to compact memory? E.g. in Arrow with StringViews they give you the ability to compact a string heap with a bunch of pointers to only contain referenced bytes: docs.rs/arrow/latest...
Feb 21, 2025, 8:24 PM
{ "uri": "at://did:plc:7xtto5bhz4fvlo2vmhhgwmrr/app.bsky.feed.post/3lipn52swmc2x", "cid": "bafyreibz45tdynethu5ckiaqhiee4qdq7h6nhb6w3ftn746si2gskjuwry", "value": { "text": "This is always a tradeoff, do you want fast zero-copy slicing or do you want to compact memory? E.g. in Arrow with StringViews they give you the ability to compact a string heap with a bunch of pointers to only contain referenced bytes:\n\ndocs.rs/arrow/latest...", "$type": "app.bsky.feed.post", "embed": { "$type": "app.bsky.embed.external", "external": { "uri": "https://docs.rs/arrow/latest/arrow/array/struct.GenericByteViewArray.html#method.gc", "title": "GenericByteViewArray in arrow::array - Rust", "description": "Variable-size Binary View Layout: An array of variable length bytes views." } }, "langs": [ "en" ], "reply": { "root": { "cid": "bafyreif72ijuplhlghx7bfekdv2efipgn75ybtk3zl4g5qaunpuxualuai", "uri": "at://did:plc:cwx2zxldt3uxciob3nxzhkzr/app.bsky.feed.post/3linejgwykc2l" }, "parent": { "cid": "bafyreif72ijuplhlghx7bfekdv2efipgn75ybtk3zl4g5qaunpuxualuai", "uri": "at://did:plc:cwx2zxldt3uxciob3nxzhkzr/app.bsky.feed.post/3linejgwykc2l" } }, "facets": [ { "index": { "byteEnd": 261, "byteStart": 238 }, "features": [ { "uri": "https://docs.rs/arrow/latest/arrow/array/struct.GenericByteViewArray.html#method.gc", "$type": "app.bsky.richtext.facet#link" } ] } ], "createdAt": "2025-02-21T20:24:12.221Z" } }