in reply to Re^4: Hypothesis: some magic string optimalization in perl kills my server from time to time
in thread Hypothesis: some magic string optimalization in perl kills my server from time to time

I removed the no autovivification line from libr_data as I haven't got a perl to hand with that module installed, and both programs ran fast for me for all perls from 5.10.0 through 5.24.0. So that might be a thing for you to investigate first.

Dave.

  • Comment on Re^5: Hypothesis: some magic string optimalization in perl kills my server from time to time
  • Select or Download Code

Replies are listed 'Best First'.
Re^6: Hypothesis: some magic string optimalization in perl kills my server from time to time
by BrowserUk (Patriarch) on Oct 01, 2016 at 13:00 UTC

    Ditto. I couldn't reproduce the OP's timing differences, but I had also commented out no autovivification as I didn't have it (I cannot think why anyone would want it), and it didn't seem to stop the code from working.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    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". I knew I was on the right track :)
    In the absence of evidence, opinion is indistinguishable from prejudice.
Re^6: Hypothesis: some magic string optimalization in perl kills my server from time to time
by leszekdubiel (Scribe) on Oct 02, 2016 at 10:59 UTC
    Ok! Thank you for checking. This has lead me to figure out that the problem exists only on currently stable distribution of Debian, while on newer software it runs as fast as expected. This is not a problem of autovivification. Tested on four of Debian installations. I will dig it deeper and maybe file a bug.
      Here is bug report: bug