a test with flat buffers (#2520)

feat: a test with flat buffers

Also, add an experimental flag `--experimental_flat_json` that allows writing json objects as flat strings using
flexibuffers.

The experiment shows that `debug populate 100000 a 10 type json elements 30`
uses almost 3 times less memory than with native jsoncons objects.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
Roman Gershman 2024-02-23 13:53:41 +02:00 committed by GitHub
parent a06d40567b
commit bcae2dfb46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 152 additions and 8 deletions

View file

@ -1,5 +1,5 @@
{
"name": "helio",
"name": "alpine-dev",
"image": "ghcr.io/romange/alpine-dev",
"customizations": {
"vscode": {
@ -10,11 +10,13 @@
"twxs.cmake"
],
"settings": {
"cmake.buildDirectory": "${workspaceFolder}/build-alpine"
"cmake.buildDirectory": "/build",
"cmake.configureArgs": []
}
}
},
"mounts": [
"source=alpine-vol,target=/root,type=volume"
]
"source=alpine-vol,target=/build,type=volume"
],
"postCreateCommand": ".devcontainer/alpine/post-create.sh ${containerWorkspaceFolder}"
}

View file

@ -0,0 +1,5 @@
#!/bin/bash
containerWorkspaceFolder=$1
git config --global --add safe.directory ${containerWorkspaceFolder}/helio
mkdir -p /root/.local/share/CMakeTools