To change an object variant's kind, produce a new object variant. Like so: obj = Obj(k: newKind, v: obj.v, x: obj.x) Run
- How do I reduce allocation and GC with pool of objects? gcao
- How do I reduce allocation and GC with pool of object... gcao
- How do I reduce allocation and GC with pool of ob... Stefan_Salewski
- How do I reduce allocation and GC with pool o... Araq
- How do I reduce allocation and GC with po... mratsim
- How do I reduce allocation and GC wi... gcao
- How do I reduce allocation and GC wi... gcao
- How do I reduce allocation and GC wi... mratsim
- How do I reduce allocation and GC wi... gcao
- How do I reduce allocation and GC wi... shirleyquirk
- How do I reduce allocation and GC wi... Araq