aboutsummaryrefslogtreecommitdiff
path: root/challenge-080/ash/cpp
diff options
context:
space:
mode:
authorTyler Wardhaugh <tyler.wardhaugh@gmail.com>2020-09-29 13:14:14 -0700
committerTyler Wardhaugh <tyler.wardhaugh@gmail.com>2020-09-29 13:14:14 -0700
commit93e474b336455bc3068af2108bc9762fe5dc08d7 (patch)
treef306b12c9fee985411e9f27a2160cc48dfb9da8d /challenge-080/ash/cpp
parent3db826ef9f6b2b73586d75f7b89c010a079c40a5 (diff)
downloadperlweeklychallenge-club-93e474b336455bc3068af2108bc9762fe5dc08d7.tar.gz
perlweeklychallenge-club-93e474b336455bc3068af2108bc9762fe5dc08d7.tar.bz2
perlweeklychallenge-club-93e474b336455bc3068af2108bc9762fe5dc08d7.zip
Ch80/Task 1: introduce a more efficient algorithm
Constructing a set is elegant but not memory-efficient when dealing with large numbers. Add benchmarking to demonstrate the difference. Also, change the original algorithm (and add a test) to ensure 1 is returned when no positive integers are provided.
Diffstat (limited to 'challenge-080/ash/cpp')
0 files changed, 0 insertions, 0 deletions