Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
manuu
on Oct 7, 2015
|
parent
|
context
|
favorite
| on:
Differences Between Perl 5 and Perl 6
Everything is a reference! Nice!
whyever
on Oct 8, 2015
[–]
Not really if you car about efficiency.
baudehlo
on Oct 8, 2015
|
parent
[–]
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.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: