Skip to content

strRepeat : new implementation#1408

Draft
shkel wants to merge 3 commits into
masterfrom
strRepeat_max_callstack
Draft

strRepeat : new implementation#1408
shkel wants to merge 3 commits into
masterfrom
strRepeat_max_callstack

Conversation

@shkel
Copy link
Copy Markdown
Contributor

@shkel shkel commented Nov 13, 2024

if cnt ~= 18000 we have max call stack error.

@shkel shkel requested a review from alstrup November 13, 2024 16:03
@shkel
Copy link
Copy Markdown
Contributor Author

shkel commented Nov 13, 2024

@alstrup what do you think ?

Copy link
Copy Markdown
Contributor

@alstrup alstrup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK with me. I guess we could do some divide and concur and do bigger chunks at a time, but this works.

Comment thread lib/string.flow
s;
} else {
// list2string(generateList(0, cnt, \__ -> s));
p = generateProgressString(cnt, makeList1(s), 1, 1);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alstrup like list2string(generateList(0, cnt, __ -> s)) more . but maybe i didn't understand you

@alstrup
Copy link
Copy Markdown
Contributor

alstrup commented Feb 6, 2025

The simple one with list2string was fine. We do not need the complicated version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants