Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: perl string pass by value

by LanX (Saint)
on Apr 02, 2018 at 19:02 UTC ( [id://1212195]=note: print w/replies, xml ) Need Help??


in reply to Re: perl string pass by value
in thread perl string pass by value

> Remember that Perl was originally architected at a time when memory was at an extreme premium and CPUs were very slow.

How is unnecessary copying saving memory?

IMHO Perl just reflected the behaviour of C.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^3: perl string pass by value
by Anonymous Monk on Apr 03, 2018 at 04:00 UTC
    And yet, today's runtime Perl implementations must somehow strive to accommodate all of this "old" source-code, as graciously as it possibly can ... without breaking any of its now-oh-so-old assumptions . . .

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1212195]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-26 08:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found