Event JSON
{
"id": "79fead12f6d183fbcf6b02f16365a9ab26dab4ee503c38475a5f2d3f9d1347f3",
"pubkey": "5aeb250b3075a12bd05e16c8a3c40da91a553fa92164a39915a3a0615fe51864",
"created_at": 1693452717,
"kind": 1,
"tags": [
[
"p",
"04e720cb714616c465df13c383dec758b8f465d0b5ea9cb91be325b2d9cafd79",
"wss://relay.mostr.pub"
],
[
"p",
"a297d2ef6a36a76aa5241cfc4c0ab5ab13e37ab15aaa46b48dabd8cc3ace895c",
"wss://relay.mostr.pub"
],
[
"e",
"27c0f0e00046b0cf4ece22951f1421a7b909c8759dd4a01e2ae86762d21166e8",
"wss://relay.mostr.pub",
"reply"
],
[
"t",
"lmdb"
],
[
"proxy",
"https://mastodon.social/users/hyc/statuses/110982117286676518",
"activitypub"
]
],
"content": "nostr:npub1qnnjpjm3gctvgewlz0pc8hk8tzu0gewskh4fewgmuvjm9kw2l4usagw7ad wow that's a lot of overhead, 2.7MB test data turned into 18MB of static code.\n\nWe can store live C structures as records in #LMDB, using a fixed-address memory map so that the address range of the map stays constant. There's a serialization cost to aggregate any pointer-based fields, but zero deserialization cost.\n\nE.g.,\n\ntypedef struct foo {\n char *name;\n char *phone;\n} foo;\n\nfoo rec1 = {\"joe\", \"5551212\"};\n\nMust be stored as:",
"sig": "dc3cb2c5113dddee624146e497ba2465c69c3629f87e26f5d7cebdf70cd4380bdd5ee2d702d0a197c73f3339e3c83ff7484b4315ce2ddcf936e6d1369f4defe9"
}