Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

use less 'memory';

by Joost (Canon)
on Oct 02, 2002 at 11:35 UTC ( #202236=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: STOP Trading Memory for Speed
in thread STOP Trading Memory for Speed

Perl would gain a big leap in flexibility if a pragma (or whatever) could state something like: "use LessMem;"

The perl porters are aware of this, as the documentation for the less pragma shows:

NAME less - perl pragma to request less of something from the compiler SYNOPSIS use less; # unimplemented DESCRIPTION Currently unimplemented, this may someday be a compiler directive to make certain trade-offs, such as perhaps use less 'memory'; use less 'CPU'; use less 'fat';

Ofcourse, as it is unimplemented, it is still useless in practice, but you could try convincing the perl 5 porters that it should at least do something in 5.10.

-- Joost downtime n. The period during which a system is error-free and immune from user input.


Comment on use less 'memory';
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2014-12-26 06:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (165 votes), past polls