Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue/1985-fromCharCode-enhancement #1994

Closed
wants to merge 1 commit into from

Conversation

dobrusev
Copy link

For stringUtil.fromCharCode when creating a new string from the given array of char codes break the array in smaller chunks to avoid stack errors on low end devices

@dobrusev
Copy link
Author

#1985

… array of char codes break the array in smaller chunks to avoid stach errors on low end devices

add name to AUTHORS and CONTRIBUTORS
@joeyparrish
Copy link
Member

Thank you for this contribution. We spent some time discussing this internally, and we've decided to go with a slightly different fix, which will detect and adapt the chunk size to the device capabilities.

@shaka-bot shaka-bot closed this in 7bbca07 Jun 14, 2019
@dobrusev
Copy link
Author

Sounds good! How can I track that change - I would like to get updates when that will be added thanks!

@joeyparrish
Copy link
Member

It went out to the master branch in 7bbca07, and I'll cherry-pick that to v2.5.x and release it in v2.5.3. In the mean time, you can use the master branch or our nightly build on appspot, which will have the fix around 4am PDT.

TheModMaker added a commit that referenced this pull request Jul 3, 2019
Instead of using a hard-coded chunk size when creating large strings,
this now uses a browser check to detect it.  This allows us to use
large chunk sizes on browsers that support it but still support low-end
devices.

Closes #1985
Closes #1994

Change-Id: Ibe45902b659516ae66bd7da33007fd15e7f64207
AnteWall pushed a commit to AnteWall/shaka-player that referenced this pull request Jul 17, 2019
Instead of using a hard-coded chunk size when creating large strings,
this now uses a browser check to detect it.  This allows us to use
large chunk sizes on browsers that support it but still support low-end
devices.

Closes shaka-project#1985
Closes shaka-project#1994

Change-Id: Ibe45902b659516ae66bd7da33007fd15e7f64207
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants