try proc povVec2*(a:Vec2):string {.inline.}= result = "<" result.addFloat a.x result &= ", " result.addFloat a.y result &= ">" Run
This could save atleast a few allocations.
try proc povVec2*(a:Vec2):string {.inline.}= result = "<" result.addFloat a.x result &= ", " result.addFloat a.y result &= ">" Run
This could save atleast a few allocations.