[Mono-dev] Creating fewer objects (Sys.Xml, Sys.Web)

Joshua Tauberer tauberer at for.net
Mon Mar 27 19:20:05 EST 2006

Atsushi Eno wrote:
> I'd prefer different approach so that 1) XmlNameEntry does not
> have to become fat boy and 2) keep code cleaner. How about
> the attached one? It avoids extra string creation as well.

Certainly works for me.  (My patch was cooler!)

(And: I don't know if it was necessary, but XmlElement was checking if
prefix == null which you're not checking for in your patch.)


- Joshua Tauberer


"Unfortunately, we're having this discussion. It's too bad,
because guess who listens to the discussion: the enemy."

More information about the Mono-devel-list mailing list