sdgathman on Nostr: In 35 years of using GC in various forms, the only real tradeoff I've ever ...
In 35 years of using GC in various forms, the only real tradeoff I've ever encountered is increased memory use. Typically, it is double, but if you reuse objects (add to collect to "free"), that can be reduced (at the expense of now introducing possible "reuse while still in use" bugs).
Published at
2023-08-24 03:23:30Event JSON
{
"id": "79d2adef237e398a773f7dabb76ea72113a17a7d74c3d76c52e6f516e04bff36",
"pubkey": "300ec228d0823779c529dc87278dea4b804cb258ef0f4ae6542125ee0222829e",
"created_at": 1692847410,
"kind": 1,
"tags": [
[
"p",
"12da98a3a66fb47b43526b1b241e91df632bfd4058dc5364938dc932fe931118",
"wss://relay.mostr.pub"
],
[
"p",
"49f3a746c8d602bb57f2fbcbcec59910fc8742b2c71c4609b3091709fc2a2375",
"wss://relay.mostr.pub"
],
[
"p",
"14fac33f299949ee9572e1b41c5e4de0f6e564f5499c64ff7de703213e94399f",
"wss://relay.mostr.pub"
],
[
"e",
"d13950efd41693c92cac587a7a7f63d86380875efe687a522144fe00f56c5f6e",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://chatter.llamarific.social/objects/5d85140e-896e-4228-a6a1-46012990a6ef",
"activitypub"
]
],
"content": "In 35 years of using GC in various forms, the only real tradeoff I've ever encountered is increased memory use. Typically, it is double, but if you reuse objects (add to collect to \"free\"), that can be reduced (at the expense of now introducing possible \"reuse while still in use\" bugs).",
"sig": "3750efe04095c2ec509da60fc6609bf0df057174e7f335df58180e53ac4d09dfbcf402f9000452df8b767460a6a363762e90a433a11179943426d738ab29c7a4"
}