1
0
Fork 0
Commit graph

2 commits

Author SHA1 Message Date
06243918fc
vectors: return value instead of reference
There was no use-case for returning reference rather than a value and
in majority of case the dereference was needed.

When using 2D/3D vectors, they are mostly initialized with the numbers
and it is contraproductive to pass around references to numbers as they
are more expensive than the copies.

Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-01-07 20:09:35 +01:00
89a9758e64
day(18): add solution
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-01-07 16:19:37 +01:00