- 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
- or download this
#include <windows.h>
#include <stdio.h>
...
printf( "Check memory: " ); getc( stdin );
return 1;
}
- 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
- or download this
C:\test\Judy>JudyTest.exe aaaaa
Check memory:
Bidi lookup of 11881376 pairs took: 6.325 seconds
Check memory: 524,332k
- or download this
#! perl -slw
package Judy; use strict;
...
print 'Memory after lookups: ', mem;
<>;
- 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