Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Right now, in Perl, CPU cycles almost always do not matter.

In 1973, oil prices jumped from ~$3/barrel to $12/barrel. The worlds economy went into a downward spiral that would lasted ~7 years. Inflation was rampant throughout the world. Unemployment went through the roof in most Western Economies. Food prices rose at unprecedented rates.

In 1980, oil prices jumped from $15/barrel to $40/barrel. The world's economies went into downward sprials.

But still the world car industry, especially in the US, kept churning out 5 litre "shopping cars" return ~10 mpg. Imagine the savings in raw oil stocks if the lessons had been heeded and no new cars were produced from 1974 onwards, that used say, < 40mpg? How many billions of barrels of oil would that have saved?

Today, oil prices have recently peaked at $115/barrel. The price of rice, wheat and other basic foodstuffs has tripled in some places. Bread, milk, rice and all the foodstuffs produced from them, including meat, are rising weekly--some daily. The worlds banks are suffering meltdown due to bad deptsdebts. Inflation is threatening. Unemployment rising.

Some figures put the energy used by commercial computer and related equipment as 13% of the total energy consumption world wide. Wasted cycles == wasted energy. Both in the direct energy usage, and the indirect cost of dealing with the heat generated. Throwing hardware at performance problems without considering the possibility of optimisations (either better algorithms or better code), is exactly the same as building low-efficiency gas-guzzling car engines because they are, in the short term, "cheaper" to produce.

The lessons of history are free to learn for those that will.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

In reply to Re^3: CPU cycles DO NOT MATTER! (EXPLETIVE!) by BrowserUk
in thread CPU cycles DO NOT MATTER! by dragonchild

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2021-06-19 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (92 votes). Check out past polls.

    Notices?