Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Well, obviously it would be better if there wasn't a speed penalty associated with array assigns, but since there is it might be better to live with the extra lines of shifts, even if they seem inelegant.

Anyway, the main point is that we should probably assume that this is a FreeBSD oddity of some sort (ala the "malloc" issue under discussion), unless someone chimes in with some data that shows the contrary.


In reply to Re^3: 5:10: Why is this slower than 5.8.8? by doom
in thread 5:10: Why is this slower than 5.8.8? by jk2addict

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    [Cosmic37]: I was using gneural code in C and it was interesting but did not have back propagation for neural networks
    [corenth]: Cosmic, poking at it, but not really.
    [Cosmic37]: I read that its possible to use the FANN library with Perl so I might try that now...
    [corenth]: i have a question. I used map{ blah();blah(); blah();}@stuff; and it used up a ton of memory vs. the for(@stuff){} equivalent. What gives? (if anyone knows)
    [Cosmic37]: FANN also has LGPL license which I like and its supposed to be quite a capable library from what I read
    [corenth]: Cosmic, that sounds interesting. What is FANN (I could search it if I weren't so lazy about it)?
    [Cosmic37]: how big was @stuff corenth?
    [Cosmic37]: Fast Artificial Neural Network (FANN) is cross-platform open source programming library for developing multilayer feedforward Artificial Neural Networks

    How do I use this? | Other CB clients
    Other Users?
    Others taking refuge in the Monastery: (7)
    As of 2018-02-20 18:15 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      When it is dark outside I am happiest to see ...














      Results (274 votes). Check out past polls.

      Notices?