Does it count as zero-copy if you’re pushing references onto a heap-allocated struct? Use inline or bust :)

Reply to this note

Please Login to reply.

Discussion

yes. zero copy here is referring to not pulling out strings onto the heap from note contents. You could use a fixed size array here i guess ? That is negligible though.

I want a star beside my name as u

its only for cool people. Are you cool ?