Inline coordinate casting#104
Conversation
There was a problem hiding this comment.
My instinct changing this to a fold makes things slightly less readable, but I think that might just be because I'm used to the other version. A fold might actually make more sense here. What do you think? Obviously it's more efficient, but is it as readable? I've stared at the code for too long to be able to tell.
Co-authored-by: Taeer Bar-Yam <Radvendii@users.noreply.github.com>
|
yes, I guess the x y xs ys and additional parenthesis didn't help with readability. Like, i don't know how big the metric data would be and if iterating it twice would be noticeable. |
So we only iterate once...
Sorry, got in my head ^^