peiyongz    2004/10/12 14:33:05

  Modified:    c/src/xercesc/internal XMLScanner.hpp
  Log:
  Change attribute number threshold to 100
  
  Revision  Changes    Path
  1.43      +5 -2      xml-xerces/c/src/xercesc/internal/XMLScanner.hpp
  
  Index: XMLScanner.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/internal/XMLScanner.hpp,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- XMLScanner.hpp    29 Sep 2004 21:23:34 -0000      1.42
  +++ XMLScanner.hpp    12 Oct 2004 21:33:05 -0000      1.43
  @@ -16,6 +16,9 @@
   
   /*
    * $Log$
  + * Revision 1.43  2004/10/12 21:33:05  peiyongz
  + * Change attribute number threshold to 100
  + *
    * Revision 1.42  2004/09/29 21:23:34  peiyongz
    * default implementation provided
    *
  @@ -1563,8 +1566,8 @@
   inline void XMLScanner::setAttrDupChkRegistry(const unsigned int &attrNumber
                                               ,       bool         &toUseHashTable)
   {
  -   // once the attribute exceed 20, we use hash table to check duplication
  -    if (attrNumber > 20)
  +   // once the attribute exceed 100, we use hash table to check duplication
  +    if (attrNumber > 100)
      {
           toUseHashTable = true;
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to