1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-21 21:40:19 +02:00
Werner's Miscellanea, Assorted small items that don't fit anywhere else http://projects.qi-hardware.com/index.php/p/wernermisc/
Go to file
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
2010-11-19 22:20:15 -03:00
qpkg qpkg: optimize duplicate lookup when inserting a new name 2010-11-19 22:20:15 -03:00