1
0
Fork 0
Commit graph

5 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
08246225fb
refactor: publicly use common types/macros in solution
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-01-06 20:00:52 +01:00
37a4fca618
day(14): refactor based on Google Chat suggestions
• get rid of the ‹lines›
• simplify free falling check

Signed-off-by: Matej Focko <mfocko@redhat.com>
2022-12-14 17:13:11 +01:00
2ac9103fe2
day(14): refactor
Signed-off-by: Matej Focko <mfocko@redhat.com>
2022-12-14 15:47:56 +01:00
6789a40038
day(14): add initial solution
Signed-off-by: Matej Focko <mfocko@redhat.com>
2022-12-14 15:36:29 +01:00