Advice for dealing with `struct` during development

So you mention in the README that one should be careful to remove the @proto macro after developing. Is this because there’s a known performance drop when using these kinds of proto-structs? Or is it just out of a sense of good programming hygiene?

P.S.
This design seems really cool and a very clever way to get around the problem of needing to redefine structs.

I haven’t made any tests about performance, but you add an extra layer of indirection and there will almost certainly be cases where this affects performance. Furthermore, once you are done prototyping it is an unneccessary complication.

1 Like