You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ath0mas (via GitHub)" <gi...@apache.org> on 2023/06/14 21:52:34 UTC

[GitHub] [cordova-js] ath0mas commented on pull request #242: perf(fromArrayBuffer): use less memory for large buffers

ath0mas commented on PR #242:
URL: https://github.com/apache/cordova-js/pull/242#issuecomment-1592038642

   Hello, should it be fine and time to switch to `new TextDecoder('utf-16').decode(Uint16Array.from(array))` as you suggest now?
   
   Shipping it in next major release seems right given:
   - **v7** already started a year ago (#258)
   - [`TextDecoder` browser compatibility](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder#browser_compatibility)
   - mobile target sdks upgrading every year
   - cordova cli and android major updates already containing Breaking Changes and updating min sdk meaning renewed browser compatibility


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org