node icon indicating copy to clipboard operation
node copied to clipboard

Eliminate pointers passed between functions via channels, etc.

Open hydrogen18 opened this issue 5 years ago • 1 comments

We have lots of code passing values around by passing around a pointer. For small values there is very little advantage to this, as it just puts more stress on the Garbage collector since it must check these pointers.

We should refactor this into just passing values where it makes sense.

hydrogen18 avatar Nov 13 '20 23:11 hydrogen18

I sometimes use it to have a unique identifier for something that will be passed to the channel and back.

boz avatar Nov 16 '20 10:11 boz