Fixes #1272.
In the model package many structs have methods on both value and pointer receivers. Having mixed receivers is for consistencies sake not ideal, but since many of these structs are also quite large, and using value receivers implies copying data, using pointer receivers would be slightly more performant.
Description
Any value receivers were changed to pointer receivers, usually this was as simple as changing the signature. Any superfluous receivers were also removed.
Motivation and Context
Fixes #1272. In the model package many structs have methods on both value and pointer receivers. Having mixed receivers is for consistencies sake not ideal, but since many of these structs are also quite large, and using value receivers implies copying data, using pointer receivers would be slightly more performant.
Description
Any value receivers were changed to pointer receivers, usually this was as simple as changing the signature. Any superfluous receivers were also removed.
Steps for Testing
Nothing should have changed.
Screenshots