mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2025-01-22 06:21:05 +02:00
Werner Almesberger
03c5e4ffe7
qpkg: optimize duplicate lookup when inserting a new name
- jrb.h, jrb.c (jrb_find_or_insert): new function to look for a node and to insert a new one if not found - id.c (make_id): use jrb_find_or_insert to avoid looking up new nodes twice - TODO: report the improvement
Description
Werner's Miscellanea, Assorted small items that don't fit anywhere else
http://projects.qi-hardware.com/index.php/p/wernermisc/
Languages
C
44.8%
TeX
17.3%
Shell
13.4%
Perl
7.8%
Makefile
7.6%
Other
9.1%