aboutsummaryrefslogtreecommitdiff
path: root/src/pow.h
diff options
context:
space:
mode:
authorMartin Leitner-Ankerl <martin.ankerl@gmail.com>2023-08-02 20:03:24 +0200
committerMartin Leitner-Ankerl <martin.ankerl@gmail.com>2023-08-03 10:31:33 +0200
commit1403d181c106bc271ad2522adebde07c7850069b (patch)
treea73a4afd3f147d327c868af2d919230a52b0e670 /src/pow.h
parentbd08a008b42dac921bd9c031637e378899c1cd1d (diff)
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.
Diffstat (limited to 'src/pow.h')
0 files changed, 0 insertions, 0 deletions