Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
manuu
· 11y ago · 0 comments
Everything is a reference! Nice!
Comments
[–]
whyever
11y ago
Not really if you car about efficiency.
[–]
baudehlo
11y ago
The opposite is true. In Perl 5 passing a hash to a function requires mallocing a new shallow copy of that hash. In Perl 6 this would be the equivalent of passing a reference to the hash, which would only require mallocing a scalar.