[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2025-01-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2025-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #17 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:fa6549c1f0e75ff33cb641d98af72ee354b04bbe commit r15-6691-gfa6549c1f0e75ff33cb641d98af72ee354b04bbe Author: Jonathan Wakely Date:

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2024-12-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2024-12-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #15 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:eb339c29ee42aa59591fc50d6d8a1ab903d2a3fe commit r15-6317-geb339c29ee42aa59591fc50d6d8a1ab903d2a3fe Author: Luca Bacci Date: Tu

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2024-11-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #14 from Jonathan Wakely --- Thanks! Please CC the libstdc++ list, as per https://gcc.gnu.org/lists.html https://gcc.gnu.org/contribute.html lists the other requirements. I think this is small enough to not need a copyright assignme

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2024-11-15 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #13 from Luca Bacci --- Here we are: https://gcc.gnu.org/pipermail/gcc-patches/2024-November/668988.html Let me know if anything is missing. Best regards, Luca

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2024-11-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #12 from Jonathan Wakely --- Yes, that looks like nice improvement, thanks. I think it would be easier to read as: if (!_M_equiv_set.empty()) { auto __x = _M_traits.transform_primary(&__ch, &__ch+1);

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2024-11-15 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #11 from Luca Bacci --- The problem happens in https://github.com/gcc-mirror/gcc/blob/releases/gcc-14.2.0/libstdc%2B%2B-v3/include/bits/regex_compiler.tcc#L612. _M_translator takes __collate (the std::regex::collate flag) in account,

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2024-11-15 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #10 from Luca Bacci --- There's another report for Solaris which is essentially a duplicate: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85824. > the regex compilation will be affected by current locale even if > std::regex::collat

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2024-11-15 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #9 from Luca Bacci --- To respond the my previous comment: the expected string encoding is determined by the C locale in use, which is either the global one or imbued in std::regex_traits.

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2023-12-09 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 Luca Bacci changed: What|Removed |Added CC||luca.bacci at outlook dot com --- Comment #

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2022-05-30 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #7 from cqwrteur --- well the right solution is to write the regex by yourself. C++ regex might be deprecated in the future.

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2022-05-29 Thread jeroen at berkeley dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 Jeroen Ooms changed: What|Removed |Added CC||jeroen at berkeley dot edu --- Comment #6

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2021-11-26 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #5 from cqwrteur --- (In reply to Eric Gallager from comment #4) > This is affecting The Battle for Wesnoth: > https://github.com/wesnoth/wesnoth/issues/6291 C++ std::regex is just terrible and highly likely be deprecated in the futu

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2021-11-26 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2021-01-24 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 cqwrteur changed: What|Removed |Added CC||unlvsur at live dot com --- Comment #3 from c

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2021-01-18 Thread goughostt at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #2 from goughost --- That may be acceptable for issue 2. But additional fixes are need; otherwise, users cannot use regex after calling setlocale(LC_ALL,"") in such a situation. Can regex compilers work without calling _M_transform? (

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2021-01-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|NEW --- Comment #1 from Jonathan Wakel

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2021-01-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED