Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Speeding up ... (O(N) determination of point in polygon regardless of complexity)

by BrowserUk (Pope)
on Aug 28, 2006 at 20:05 UTC ( #570038=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    #! perl -slw
    use strict;
    print IMG $map->png;
    close IMG;
  2. or download this
    #! perl -slw
    use strict;
    open POINTS, '>', '569929.points' or die $!;
    printf POINTS "%d:%d\n", int( rand 5000 ), int( rand 5000 ) for 1 .. 5
    close POINTS;
  3. or download this
    #! perl -slw
    use strict;
    close POINTS;
  4. or download this
    1 trial of 5,25e6 points in 2.5e5 polys (33.094s total)
    1 trial of 5.25e6 points in 2.5e5 polys (33.734s total)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://570038]
[Corion]: Meh. I'm reviving some old code, and it seems it used a module DBIx::Loader, but it doesn't exist on CPAN, and I can't even remember writing such a module... Maybe parts of it live on in DBIx::RunSQL, but not the parts I need right now :)

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2018-06-24 08:22 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.