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

@shkel shkel commented Nov 13, 2024

Copy link
Copy Markdown
Contributor

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

@shkel shkel requested a review from alstrup November 13, 2024 16:03
@shkel

shkel commented Nov 13, 2024

Copy link
Copy Markdown
Contributor Author

@alstrup what do you think ?

@alstrup alstrup left a comment

Copy link
Copy Markdown
Contributor

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

alstrup commented Feb 6, 2025

Copy link
Copy Markdown
Contributor

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