Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Bidirectional lookup algorithm? (Judy)

by BrowserUk (Patriarch)
on Jan 14, 2015 at 22:02 UTC ( [id://1113271]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\test\Judy>cl /W3 /Ot /favor:INTEL64 /MT /LD Judy.c
    Microsoft (R) C/C++ Optimizing Compiler Version 15.00.21022.08 for x64
    ...
    /implib:Judy.lib
    Judy.obj
       Creating library Judy.lib and object Judy.exp
    
  2. or download this
    #include <windows.h>
    #include <stdio.h>
    ...
        printf( "Check memory: " );    getc( stdin );
        return 1;
    }
    
  3. or download this
    C:\test\Judy>cl /W3 /Ot JudyTest.c Judy.lib
    Microsoft (R) C/C++ Optimizing Compiler Version 15.00.21022.08 for x64
    ...
    /out:JudyTest.exe
    JudyTest.obj
    Judy.lib
    
  4. or download this
    C:\test\Judy>JudyTest.exe aaaaa
    Check memory:
    Bidi lookup of 11881376 pairs took: 6.325 seconds
    Check memory: 524,332k
    
  5. or download this
    #! perl -slw
    package Judy; use strict;
    ...
    print 'Memory  after lookups: ', mem;
    <>;
    
  6. or download this
    C:\test\Judy>perl Judy.pm -ODO=aaaaa
    Memory before building Judy: 10,760 K
    Memory  after building Judy: 347,660 K
    Bidi lookups of 11881376 pairs took:25.197204113 seconds
    Memory  after lookups: 347,680 K
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-19 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found