1
0
Fork 0
2022/src/bin
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
..
day01.rs refactor: use generated boilerplate from lib 2022-12-08 22:45:13 +01:00
day02.rs refactor: publicly use common types/macros in solution 2023-01-06 20:00:52 +01:00
day03.rs refactor: publicly use common types/macros in solution 2023-01-06 20:00:52 +01:00
day04.rs refactor: publicly use common types/macros in solution 2023-01-06 20:00:52 +01:00
day05.rs refactor: publicly use common types/macros in solution 2023-01-06 20:00:52 +01:00
day06.rs refactor: publicly use common types/macros in solution 2023-01-06 20:00:52 +01:00
day07.rs refactor: publicly use common types/macros in solution 2023-01-06 20:00:52 +01:00
day08.rs refactor: publicly use common types/macros in solution 2023-01-06 20:00:52 +01:00
day09.rs refactor: publicly use common types/macros in solution 2023-01-06 20:00:52 +01:00
day10.rs refactor: publicly use common types/macros in solution 2023-01-06 20:00:52 +01:00
day11.rs refactor: publicly use common types/macros in solution 2023-01-06 20:00:52 +01:00
day12.rs refactor: publicly use common types/macros in solution 2023-01-06 20:00:52 +01:00
day13.rs refactor: publicly use common types/macros in solution 2023-01-06 20:00:52 +01:00
day14.rs vectors: return value instead of reference 2023-01-07 20:09:35 +01:00
day15.rs vectors: return value instead of reference 2023-01-07 20:09:35 +01:00
day18.rs vectors: return value instead of reference 2023-01-07 20:09:35 +01:00
day20.rs day(20): add solution 2023-01-07 12:30:28 +01:00
day23.rs vectors: return value instead of reference 2023-01-07 20:09:35 +01:00
day25.rs day(25): sprinkle in some traits 2023-01-07 20:09:34 +01:00