[MonoDevelop] Little program super slow on Mono, and super fast on ms .net

Stifu stifu at free.fr
Wed Aug 4 13:26:57 EDT 2010


At first sight, the foo.StartsWith call could be optimized by passing
StringComparison.OrdinalIgnoreCase as the second parameter. That may not the
bottleneck here, but this may help a little.


Nevo Script wrote:
> 
>   Here's the little code: http://pastebin.com/RT0a4GvG
> 
> Hello!
> It's extremly slow on Mono, both Linux and Windows. But super fast on MS 
> .Net.
> Is it HtmlAgilityPack? When I say it's slow... I look at the printing... 
> how fast it's printing the list.count...
> 
> I've tried to rewrite the foreach to for... didn't help.
> 
> Just saying, maybe some smart people can take a look. This isn't 
> anything important, was just having fun.
> 
> It's the newest version of HtmlAgilityPack.
> 
> Thank you.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> 
> 

-- 
View this message in context: http://mono.1490590.n4.nabble.com/Little-program-super-slow-on-Mono-and-super-fast-on-ms-net-tp2313813p2313883.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list