I need to reduce memory usage without breaking the test
Budget: $30 – $250 USD
The peak memory usage of the code in the attachment is too high (3200mb) and runs out of memory on users machines.
The purpose is to reduce memory usage without breaking the test. The aim is to test out how this code can be optimized in order to achieve the desired result. Meaning that it should be optimized in a way that the df hash is equal to the test hash in our case to: "867567dc7d46f77af2bca9804ac366a5165d27612de100461b699bd23094ab90" without breaking the test. If you run the code below you can see that it passes the test. But the memory usage is too high.
The purpose is to reduce memory usage without breaking the test. The aim is to test out how this code can be optimized in order to achieve the desired result. Meaning that it should be optimized in a way that the df hash is equal to the test hash in our case to: "867567dc7d46f77af2bca9804ac366a5165d27612de100461b699bd23094ab90" without breaking the test. If you run the code below you can see that it passes the test. But the memory usage is too high.