Commit 1403d18
committed
refactor: use fold expressions instead of recursive calls in UnserializeMany()
Instead of recursively calling `UnserializeMany` and peeling off one
argument at a time, use a fold expression. This simplifies the code,
makes it most likely faster because it reduces the number of function
calls, and compiles faster because there are fewer template
instantiations.1 parent bd08a00 commit 1403d18
1 file changed
+3
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
1048 | | - | |
1049 | | - | |
1050 | | - | |
1051 | | - | |
1052 | | - | |
1053 | | - | |
1054 | | - | |
| 1048 | + | |
| 1049 | + | |
1055 | 1050 | | |
1056 | | - | |
1057 | | - | |
| 1051 | + | |
1058 | 1052 | | |
1059 | 1053 | | |
1060 | 1054 | | |
| |||
0 commit comments