zzzprojects / html-agility-pack

Html Agility Pack (HAP) is a free and open-source HTML parser written in C# to read/write DOM and supports plain XPATH or XSLT. It is a .NET code library that allows you to parse "out of the web" HTML files.
https://html-agility-pack.net
MIT License
2.65k stars 375 forks source link

Use backwards for loop instead of linq for performance in AttributeCollection.Remove #511

Closed campersau closed 1 year ago

campersau commented 1 year ago

Avoids List allocation and slower OrderByDescending.

JonathanMagnan commented 1 year ago

Hello @campersau ,

Thank you for your contribution,

Your change has been merged and should be released later today.

Best Regards,

Jon

JonathanMagnan commented 1 year ago

Hello @campersau ,

The v1.11.51 has been released.

Thank again for your contribution ;)