Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove a closure in
_FieldSet.hashCode
(#633)
* Remove a closure in `_FieldSet.hashCode` Improves HashCode benchmark up to 3%. JIT before: HashCode(RunTime): 1981.9821782178217 us. HashCode(RunTime): 1974.7068114511353 us. HashCode(RunTime): 1970.9261083743843 us. JIT after: HashCode(RunTime): 1899.034155597723 us. HashCode(RunTime): 1912.0917782026768 us. HashCode(RunTime): 1908.1782650142993 us. Native AOT before: HashCode(RunTime): 5164.038659793814 us. HashCode(RunTime): 5177.984496124031 us. HashCode(RunTime): 5192.199481865285 us. Native AOT after: HashCode(RunTime): 5027.246231155779 us. HashCode(RunTime): 5045.488664987405 us. HashCode(RunTime): 5134.379487179487 us. JS before: HashCode(RunTime): 6944.444444444444 us. HashCode(RunTime): 6913.793103448276 us. HashCode(RunTime): 6927.335640138408 us. JS after: HashCode(RunTime): 6846.41638225256 us. HashCode(RunTime): 6965.277777777777 us. HashCode(RunTime): 6920.415224913495 us. Fixes #632
- Loading branch information