On windows, the path internal representation is wchar_t, and input/output often goes through utf8 inbetween, which causes extra allocations.
MS STL does the same, so this shouldn't be a standards compliance issue.
Differential D97497
[libcxx] [test] Disable allocation checks in class.path tests on windows mstorsjo on Feb 25 2021, 1:45 PM. Authored by
Details
On windows, the path internal representation is wchar_t, and input/output often goes through utf8 inbetween, which causes extra allocations. MS STL does the same, so this shouldn't be a standards compliance issue.
Diff Detail Event Timeline
Comment Actions Abandoning this one, D98398 is clearly better, letting us keep a few allocation checks in some files. |
path::compare should not allocate, nope?
Or is it something else that may allocate in this test?