Boxing of bool is to compute hashcode is causing excessive allocations #10917
Labels
Category:Quality Week
Issues that should be considered for quality week
Functionality:Restore
PerfWins
Tenet:Performance
Performance issues
Type:Bug
Milestone
The HashCodeCombiner takes an object parameter in its AddObject method and when passed a bool, it boxes it as a Boolean object to then compute the hashcode. This allocates Boolean objects that are short-lived and not necessary.
The text was updated successfully, but these errors were encountered: