added a program to regression test the dictionary code improve the lookup

* testdict.c: added a program to regression test the dictionary code
* dict.c: improve the lookup efficiency by caching the key.
Daniel

svn path=/trunk/; revision=3768
3 files changed
tree: c564b28462fe360de6a72fda9a46dd67444f3246
  1. bakefile/
  2. doc/
  3. example/
  4. include/
  5. macos/
  6. optim/
  7. python/
  8. result/
  9. test/
  10. vms/
  11. VxWorks/
  12. win32/
  13. xstc/
  14. .cvsignore
  15. acconfig.h
  16. acinclude.m4
  17. AUTHORS
  18. autogen.sh
  19. build_glob.py
  20. c14n.c
  21. catalog.c
  22. ChangeLog
  23. check-relaxng-test-suite.py
  24. check-relaxng-test-suite2.py
  25. check-xinclude-test-suite.py
  26. check-xml-test-suite.py
  27. check-xsddata-test-suite.py
  28. chvalid.c
  29. chvalid.def
  30. config.h.in
  31. configure.in
  32. Copyright
  33. dbgen.pl
  34. dbgenattr.pl
  35. debugXML.c
  36. dict.c
  37. DOCBparser.c
  38. elfgcchack.h
  39. encoding.c
  40. entities.c
  41. error.c
  42. genChRanges.py
  43. gentest.py
  44. genUnicode.py
  45. global.data
  46. globals.c
  47. HACKING
  48. hash.c
  49. HTMLparser.c
  50. HTMLtree.c
  51. INSTALL
  52. install-sh
  53. legacy.c
  54. libxml-2.0-uninstalled.pc.in
  55. libxml-2.0.pc.in
  56. libxml.3
  57. libxml.h
  58. libxml.m4
  59. libxml.spec.in
  60. list.c
  61. MAINTAINERS
  62. Makefile.am
  63. Makefile.tests
  64. Makefile.win
  65. missing
  66. mkinstalldirs
  67. nanoftp.c
  68. nanohttp.c
  69. NEWS
  70. parser.c
  71. parserInternals.c
  72. pattern.c
  73. README
  74. README.cvs-commits
  75. README.tests
  76. regressions.py
  77. regressions.xml
  78. relaxng.c
  79. rngparser.c
  80. runsuite.c
  81. runtest.c
  82. runxmlconf.c
  83. SAX.c
  84. SAX2.c
  85. schematron.c
  86. testapi.c
  87. testAutomata.c
  88. testC14N.c
  89. testchar.c
  90. testdict.c
  91. testdso.c
  92. testHTML.c
  93. testModule.c
  94. testOOM.c
  95. testOOMlib.c
  96. testOOMlib.h
  97. testReader.c
  98. testRegexp.c
  99. testRelax.c
  100. testSAX.c
  101. testSchemas.c
  102. testThreads.c
  103. testThreadsWin32.c
  104. testURI.c
  105. testXPath.c
  106. threads.c
  107. TODO
  108. TODO_SCHEMAS
  109. tree.c
  110. trio.c
  111. trio.h
  112. triodef.h
  113. trionan.c
  114. trionan.h
  115. triop.h
  116. triostr.c
  117. triostr.h
  118. uri.c
  119. valid.c
  120. xinclude.c
  121. xlink.c
  122. xml2-config.1
  123. xml2-config.in
  124. xml2Conf.sh.in
  125. xmlcatalog.c
  126. xmlIO.c
  127. xmllint.c
  128. xmlmemory.c
  129. xmlmodule.c
  130. xmlreader.c
  131. xmlregexp.c
  132. xmlsave.c
  133. xmlschemas.c
  134. xmlschemastypes.c
  135. xmlstring.c
  136. xmlunicode.c
  137. xmlwriter.c
  138. xpath.c
  139. xpointer.c