Is there a way that I can hard code a const XmlNameTable to be reused by all of my XmlTextReader(s)?
Posted
by highone
on Stack Overflow
See other posts from Stack Overflow
or by highone
Published on 2010-04-17T05:02:08Z
Indexed on
2010/04/17
5:03 UTC
Read the original article
Hit count: 292
Before I continue I would just like to say I know that "Premature optimization is the root of all evil." However this program is only a hobby project and I enjoy trying to find ways to optimize it.
That being said, I was reading an article on improving xml performance and it recommended sharing "the XmlNameTable class that is used to store element and attribute names across multiple XML documents of the same type to improve performance."
I wasn't able to find any information about doing this in my googling, so it is likely that this is either not possible, a no-no, or a stupid question, but what's the harm in asking?
© Stack Overflow or respective owner