Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^7: PDL: Looking for efficient way to extract sub-images, by finding bounding boxes of "objects" (7000x faster)

by BrowserUk (Patriarch)
on Nov 22, 2016 at 08:39 UTC ( [id://1176316]=note: print w/replies, xml ) Need Help??


in reply to Re^6: PDL: Looking for efficient way to extract sub-images, by finding bounding boxes of "objects" (7000x faster)
in thread PDL: Looking for efficient way to extract sub-images, by finding bounding boxes of "objects"

If this difference in performance between versions was due to optimisations of the internals between those versions, then:

  1. Wouldn't you expect it to apply pretty evenly to all the subroutines rather than just one of them?
  2. If they'd succeeded in making Perl run 135x faster, I'm pretty sure we'd all have heard about it.

The idea I had about a possible cause of the pathological behaviour of yr() code is my memory of this Windows memory allocation bug What could cause excessive page faults? that I discovered 7 years ago that, under some very specific circumstances, caused the CRT code underlying Perl to generate millions of page faults. But that is not the cause here.


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". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^7: PDL: Looking for efficient way to extract sub-images, by finding bounding boxes of "objects" (7000x faster)

Log In?
Username:
Password:

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

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

    No recent polls found