1
0
Fork 0
No description
Find a file
Matej Focko 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
inputs chore: add skeletons and prepary directories 2022-12-01 11:04:36 +01:00
samples day(25): add initial solution 2023-01-07 16:42:18 +01:00
src vectors: return value instead of reference 2023-01-07 20:09:35 +01:00
.envrc env: don't print full backtrace 2022-12-07 14:51:11 +01:00
.gitignore chore: add skeletons and prepary directories 2022-12-01 11:04:36 +01:00
.gitlab-ci.yml ci: disable docs and pages 2022-12-04 22:15:45 +01:00
Cargo.lock day(15): add solution 2023-01-03 22:16:21 +01:00
Cargo.toml day(15): add solution 2023-01-03 22:16:21 +01:00
get_input.py chore(input): deduce the day to be downloaded 2022-12-03 14:12:20 +01:00