-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathREADME
More file actions
21 lines (15 loc) · 665 Bytes
/
README
File metadata and controls
21 lines (15 loc) · 665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
dict: a stand-alone string/string associative array
This single-file implements a stand-alone string/string associative array,
similar to a Python dictionary or a Perl hash. The implementation is
derived from the Python dictionary with some additional tweaks and
optimizations due to the string/string specialization.
Sources:
Algorithm step-by-step description
http://www.laurentluce.com/?p=249
Python implementation
http://svn.python.org/projects/python/trunk/Objects/dictobject.c
A demo is included and compiled with -DMAIN. Use the Makefile to
create a benchmark program and run it.
License: MIT
N. Devillard
Tue Apr 5 14:11:10 CEST 2011