The current implementation of nocode could be executed far more efficiently by adding memoization. Because the entry point is a pure function, it is able to be memoized. This would insure that any subsequent executions of nocode would return
instantly without having to process anything.
My thoughts were something like:
const main = x => {
const memo = {};
if (memo.x) {
return memo.x;
} else {
memo.x = ;
return ;
}
};
I'm afraid your suggestion doesn't fit with the project's coding standards.
Remember, acceptable forms of code for nocode are
and
Please keep this in mind when suggesting improvements.
@axelsimon Okay, my mistake! I refactored my code. How is this?
:+1:
Most helpful comment
@axelsimon Okay, my mistake! I refactored my code. How is this?