Repository navigation
Closes #5069: Investigate moving FeistelShuffle from list Repartition to innerArray - #5070
Conversation
…epartition to innerArray
|
From main branch: Basically ran the Shuffle benchmark for Feistel only, a 1,000,000, 10,000,000, and 100,000,000 (maybe plainer in English - n = one million, ten million, hundred million). Not a lot of memory usage until n = hundred million, at which point it went up to over 18 GB (baseline seems to be 6 GB). At the upper end, took about 3 min per round, although not sure if that means anything. |
|
From this branch: Same benchmark cases. Upper end of RAM consumed was around maybe 13.5 GB from a baseline of a little under 6 GB (maybe 5.5 GB worst case). So definitely less RAM consumed on this branch. Also it does appear to be faster as each test took somewhere around 45s on the hundred million benchmark. Would be interesting to compare results on a serious computer. |
drculhane
left a comment
There was a problem hiding this comment.
Straightforward change, passes all unit tests.
Basically just refactors the Feistel shuffle function to use the innerArray way of doing things.
Closes #5069: Investigate moving FeistelShuffle from list Repartition to innerArray