Y
Hacker News
new
|
ask
|
show
|
jobs
by
4hg4ufxhy
698 days ago
Kind of inefficient. Also it's less ergonomic since every struct is it's own type, so you need to have the signature on both sides.
1 comments
benmmurphy
698 days ago
It should compile to the same because a struct passed by value is loaded into the registers the same as method arguments.
link