• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

autom4te.cache/H22-May-2007-57,76051,955

doc/H22-May-2007-3,2733,012

examples/H22-May-2007-502292

src/H22-May-2007-29,38417,804

test/H22-May-2007-19,36013,425

tool/H22-May-2007-2,7391,669

AUTHORSH A D15-Feb-2005119 96

COPYINGH A D15-Feb-200526.4 KiB517428

ChangeLogH A D22-May-20072.3 KiB6149

INSTALLH A D15-Feb-2005769 2116

Makefile.amH A D22-May-2007807 203

Makefile.inH A D22-May-200719.6 KiB640548

READMEH A D22-May-20074.9 KiB150108

aclocal.m4H A D22-May-2007255.8 KiB7,2616,511

bootstrapH A D14-May-2007301 157

compileH A D22-May-20073.6 KiB14379

config.guessH A D22-May-200743.5 KiB1,5171,305

config.h.inH A D22-May-20074.6 KiB172117

config.subH A D22-May-200731.9 KiB1,6231,479

configureH A D22-May-2007745.8 KiB23,81719,102

configure.acH A D22-May-20079.9 KiB272238

depcompH A D22-May-200715.6 KiB531330

install-shH A D22-May-20079 KiB324189

ltmain.shH A D22-Mar-2006192.1 KiB6,8725,424

missingH A D22-May-200710.8 KiB361268

README

1
2	     Judy - C library creating and accessing dynamic arrays
3	 ==============================================================
4
5Content
6---------
7
8 1. Introduction
9 2. Directory Contents
10 3. How to install
11 4. License
12 5. Change History
13 6. Reporting Bugs
14 7. Known Issues
15
16
171. INTRODUCTION
18-----------------
19
20This tree contains sources, documents, tests, and tools for the Judy package.
21This file is in a form that can be validated using the tool/readme script.
22
23NOTE:  The README files here describe some files that are not included in
24every Judy source package.
25
26WHAT IS JUDY?  (see below for list of top-level directories and files)
27
28Judy is a C library that implements a dynamic array.  Empty Judy arrays are
29declared with null pointers.  A Judy array consumes memory only when
30populated yet can grow to take advantage of all available memory.  Judy's key
31benefits are:  scalability, performance, memory efficiency, and ease of use.
32Judy arrays are designed to grow without tuning into the peta-element range,
33scaling near O(log-base-256) -- 1 more RAM access at 256 X population.
34
35Judy arrays are accessed with insert, retrieve, and delete calls for number
36or string indexes.  Configuration and tuning are not required -- in fact not
37possible.  Judy offers sorting, counting, and neighbor/empty searching.
38Indexes can be sequential, clustered, periodic, or random -- it doesn't
39matter to the algorithm.  Judy arrays can be arranged hierarchically to
40handle any bit patterns -- large indexes, sets of keys, etc.
41
42Judy is often an improvement over common data structures such as:  arrays,
43sparse arrays, hash tables, B-trees, binary trees, linear lists, skiplists,
44other sort and search algorithms, and counting functions.
45
46
472. JUDY TOP DIRECTORY CONTENTS:
48--------------------------------
49
50AUTHORS		Judy authors and contributors
51README		This file.
52INSTALL		Summary  instructions to build, check and install Judy.
53COPYING		Judy deliverable license notice (the LGPL).
54ChangeLog	List of changes per version of Judy.
55
56configure	Autoconf configure script to allow a portable build e
57                environment.
58
59src/		Header and source files used to build the package.
60doc/		Documents, both external (to the package) and internal.
61test/		Test support and some timing programs.
62tool/		Primitive tool (jhton) to convert *.html files to "man" pages.
63                and build tables used by Judy to malloc() sizes of memory.
64
653. HOW TO INSTALL
66-----------------
67
68For a quick description see the INSTALL file.
69
70Judy is now based on the GNU Auto tools. This means that you can do the standard
71configure, make, make check and make install and everything should work, with
72one minor difference and a little caveat.
73
74Judy is capable of being built as a 32-bit or a 64-bit library. Configure
75will test to detect the native environment and default to that. Therefor if you
76explicitly want to to compile for the non-native environment you need to tell
77Judy what you want. You can run ./configure with one of the following flags:
78
79	  --enable-32-bit
80          --enable-64-bit
81
82The caveat comes in on machines that support both at 32-bit and 64-bit runtime
83environments such as RISC platforms and x86-64. In this case your compiler will
84either use 32-bit or 64-bit as default. If you plan to use the default you can
85follow the above instructions and be finished.
86
87However, if you wish to compile for the non-default target type. YOU ARE
88RESPONSIBLE FOR SETTING THE CORRECT FLAGS! Such as CFLAGS to make your compiler
89switch modes LDFLAGS to make your linker behave, etc.
90
91For example: On HP-UX PA-RISC the compiler generates 32-bit code by default. If
92I wish to stick with the defaults I can simply build Judy by:
93   ./configure
94   make
95   make check
96   make install
97
98If I want to build Judy as a 64-bit library on HP-UX PA-RISC I have to do:
99   CFLAGS=+DD64 ./configure --enable-64-bit
100   make
101   make check
102   make install
103
104If I want to build Judy native (64-bit) on Linux AMD64 I have to do:
105   ./configure
106   make
107   make check
108   make install
109
110If I want to build Judy 32-bit on Linux AMD64 I have to do:
111   ./configure --enable-32-bit
112   make
113   make check
114   make install
115
1164. LICENSE
117----------
118
119The user library is licensed under the GNU Lesser Public License (LGPL)
120Version 2.1, February 1999.  The full text of the LGPL is located at:
121
122COPYING
123
124
1255. CHAGE HISTORY
126----------------
127
128See the ChangeLog file.
129
1306. REPORTING BUGS
131-----------------
132
133If you encounter a bug, please submit it to the project bug list,
134located on the project page:
135
136    https://sourceforge.net/projects/judy/
137
1387. KNOWN ISSUES
139---------------
140
141When compiling on HP-UX, you may get a message like:
142 error 1000: Unexpected symbol:
143
144This is a problem with the HP's compiler in that it doesn't like a typedef'ed
145type following a static inline.
146
147You can work around it by running this command from the Judy directory.
148
149find ./ -name \*.[ch] | xargs perl -i.BAK -pe 's/static inline/static/g'
150