Derik Whittaker has been running a series of XPath/XLinq comparions and in his last post he compares the performance of the two. The results were quite interesting and surprising to say the least. XLinq is actually 3 times faster when searching for a value in an Xml document! I haven’t done any performance testing like this myself (I will!), but this looks very promising. In Deriks tests it looks like XDocument loads a little slower that XmlDocument, perhaps that loss is in part what improves the performance when searching? I’m thinking maybe they added “indexes” or something similar in XDocument… Anyway, it looks like XLinq is the way to go when manipulating and searching in Xml documents.
I’ve always struggeled with RegExp. Every time I need one I have to use a tool and then carefully create it. Painful. But today I discovered a new project: Readable Regular Expressions. I basically uses Linq syntax to create the regexp for you! Pretty cool!
That’s a lot of Linq providers/info! Holy cow!
More of a bookmark than anything; I really wanna watch these two presentations asap.
Pretty cool Linq usage. I hope I’ll get a chance to play with Linq in my new job.
Linq is just to cool!
Not a bad set of links at all! Check out all the Linq providers towards the end of the post. Impressive!
Very interesting! I wonder, could I specify _everything_ dynamically? As in; tables, columns etc.
This looks really promising. I’m looking forward to upgrading to .Net 3.5 and using LINQ!