bulk88

Results 193 comments of bulk88

similar src code problem in mingw 8.3.0/Strawberry 5.32's bundled gcc https://github.com/mingw-w64/mingw-w64/blob/90da6c6535c503159e952dc8b44f8778bed6f622/mingw-w64-crt/misc/mbrtowc.c#L4 Reading Mingw's "ASCII to Wide" code, Im seeing the same O(n^2)-ness that UCRT is doing. Implementing ***each byte*** of...

> [python/cpython#79376](https://github.com/python/cpython/issues/79376) > > https://bugs.python.org/issue35195 > > In 2018 Python identified this problem. Py ticket remains open ATM Feb 2025. IDK enough arch/API/design/tech info to understand all the comments in...

More complaints about this particular WinPerl bug and MS's any-age CRT .dll file complaints https://stackoverflow.com/questions/36686381/windows-c-runtime-toupper-slow-when-locale-set I am starting to believe this WinPerl bug is "unfixable" on Windows OS. After another...

https://github.com/Perl/perl5/issues/21611 is probably the same UCRT bug I am describing here. There is analysis/workup in there that comes to the same conclusion as I did above.

Yep, enumerates all possible locales on earth. ``` GetLocaleInfoEx KERNELBASE __acrt_GetLocaleInfoEx ucrtbase LanguageEnumProcEx ucrtbase Internal_EnumSystemLocales KERNELBASE EnumSystemLocalesEx KERNELBASE _acrt_EnumSystemLocalesEx ucrtbase GetLocaleNameFromLanguage ucrtbase __acrt_get_qualified_locale ucrtbase _expandlocale ucrtbase _wsetlocale_nolock ucrtbase ::operator() ucrtbase...

I did an experiment of rev engineering and forcing enabling UCRT's locale logic back on. 126323640 us/2873542809 us = 0.0439, so UCRT's `tolower()` with locale cache logic turned on, takes,...

I might've figured out why I never caught this slow down in earlier perls, years ago, and why 2020s Perl is calling any CRT's `setlocale()` so much. Semi-related ticket https://github.com/Perl/perl5/issues/19855...

Found something interesting. This might explain why MS Devs can't identify or see the `::LocaleUpdate()` CPU burn bug for their internal/in-house use of the UCRT. `isupper()`, `isalpha()`, `isspace()`, etc. are...

`Test2::`/`Test::More` is tripping the `toupper()` bug on EVERY TEST. ``` sub context { # We need to grab these before anything else to ensure they are not # changed. my...

The entire public API of UCRT is broken until process exit after executing the first `setlocale()@ucrtbase.dll` in a Win32 process. `chdir()@ucrtbase.dll` depends on `toupper()`; ``` > ucrtbase.dll!_LocaleUpdate::_LocaleUpdate() Unknown ucrtbase.dll!toupper() Unknown...