Commit 8f80333
committed
Reorder
Previously, `GetValue()` was ordered according to popularity (with the exception of the compatibility check, which must come first). These were recently reordered to make sure that the fastest calls were placed upfront, thus preventing lookups when they weren't needed (565fa6f). With the caching of `IsList` and `IsConvertible` (d0fb8a4), however, that is no longer a concern. As such, we can return to prioritizing based on how common each is, thus reducing the number of conditions each property (or parameter) must be considered for.GetValue() based on how common each condition is1 parent 83d5c3d commit 8f80333
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
528 | | - | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
529 | 534 | | |
530 | 535 | | |
531 | 536 | | |
532 | 537 | | |
533 | 538 | | |
534 | 539 | | |
535 | 540 | | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
| 541 | + | |
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
| |||
0 commit comments