Commit Graph
6 Commits
Author SHA1 Message Date
Atsushi Eno c463f3240d 2006-03-28 Atsushi Enomoto <[email protected]>
* XmlNameEntry.cs XmlNameEntryCache.cs :
	  Added atomization support for prefixed names.
	  Inspired by Joshua Tauberer's patch.
	* XmlElement.cs XmlAttribute.cs : use above.


svn path=/trunk/mcs/; revision=58637
2006-03-28 03:44:08 +00:00
Atsushi Eno 4bacaff049 2006-01-30 Atsushi Enomoto <[email protected]>
* XmlDocument.cs, XmlAttribute.cs, XmlElement.cs : Avoid unnecessary
	  name checks in CreateElement() and CreateAttribute().
	  get_DocumentType() could be stopped when the iterated child node
	  is the document element.
	* XmlNode.cs : removed commented lines.
	* XmlNameEntry.cs : hash code for a name entry is mostly identical by
	  its local name, so avoid extraneous GetHashCode() especially on
	  namespaces.



svn path=/trunk/mcs/; revision=56270
2006-01-30 19:30:59 +00:00
Atsushi Eno c36beac875 2006-01-24 Atsushi Enomoto <[email protected]>
* XmlNameEntryCache.cs XmlNameEntry.cs :
	  Made name entry fields as not read-only. Added Update() to reset
	  members. Its semantics of Equals() is changed.
	  Now entry cache is based on Hashtable rather than ArrayList.
	  It saves heavy iteration in ArrayList.


svn path=/trunk/mcs/; revision=56003
2006-01-24 20:38:37 +00:00
Atsushi Eno 3e22b34ec4 2006-01-24 Atsushi Enomoto <[email protected]>
* XmlNameEntryCache.cs XmlNameEntry.cs XmlDocument.cs :
	  Add Hash field to find name entry quickly.
	  In XmlNameEntryCache make use of name table (it is totally
	  unused there though).


svn path=/trunk/mcs/; revision=55970
2006-01-24 05:42:16 +00:00
Raja R Harinath 5942f52d09 Standardize line-endings in files (if most of the file is CRLF,
convert the whole thing to CRLF).  Set svn:eol-style native for 
files with LF line-endings.  Remove svn:executable.


svn path=/trunk/mcs/; revision=46117
2005-06-17 06:39:43 +00:00
Atsushi Eno e65be58d88 2005-01-18 Atsushi Enomoto <[email protected]>
* XmlNode.cs,
	  XmlAttribute.cs,
	  XmlAttributeCollection.cs :
	  Now reuse parentNode field for XmlAttribute.OwnerElement and
	  reduce class allocation size.
	* XmlNameEntry.cs :
	  New class that represents a name triplet.
	  XmlNameEntryCache.cs :
	  New type to cache name entries.
	* XmlAttribute.cs,
	  XmlElement.cs :
	  Replace name strings with name entry and save class allocation size.
	  XmlDocument.cs :
	  Add name entry cache field to document and reuse name entries that 
	  are already allocated.



svn path=/trunk/mcs/; revision=39086
2005-01-18 10:41:55 +00:00