---
date: '2022-10-01'
description: serialization formats comparing flatbuffer's zero-copy design with protobuf's parsing requirements.
id: In-memory representation
modified: 2026-06-05 15:08:04 GMT-04:00
tags:
  - technical
  - seed
title: In memory representation
created: '2022-10-01'
published: '2022-10-01'
pageLayout: default
slug: thoughts/In-memory-representation
permalink: https://aarnphm.xyz/thoughts/In-memory-representation.md
generator:
  quartz: v4.6.0
  hostedProvider: Cloudflare
  baseUrl: aarnphm.xyz
full: https://aarnphm.xyz/llms-full.txt
---
## flatbuffer

_difference_ with protobuf: no unpacking/parsing

[Benchmark][#benchmark] zero-mem copy with slightly larger wire format

[#benchmark]: https://google.github.io/flatbuffers/flatbuffers_benchmarks.html

## protobuf

