User contributions for Jwo

A user with 369 edits. Account created on 18 August 2024.
Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

26 August 2024

  • 03:1703:17, 26 August 2024 diff hist +18 C++ gemsNo edit summary
  • 03:1703:17, 26 August 2024 diff hist +349 N C++ gemsstd::quote Tag: Visual edit
  • 02:1302:13, 26 August 2024 diff hist +479 N Yucky code dumpCreated page with "== Mildly yucky == === Unnecessary <code>str::string</code> instantiations === ==== Getting substrings ==== Don't do this: https://stackoverflow.com/a/55210196 (applies to the last revision from 2019) <code>auto str = std::string(input.begin() + input.find(' '), input.end());</code> Do this: <code>auto str = std::string_view(input.begin() + input.find(' '), input.end());</code> That neatly avoids allocating space for the substring and then copying the substring th..." current Tag: Visual edit

25 August 2024

22 August 2024

  • 05:4405:44, 22 August 2024 diff hist +1,794 N Bug in XML::SAX::PurePerlCreated page with "Hello, I've just found a bug in XML::SAX. When the “--” of “-->” is exactly at the end of the input buffer, it is treated as normal comment content. In the following diff, I explicitly set up reading at least four characters and also check for this special case when “-” is at the end of the buffer. In this case, I move it to the start of the buffer and process it in the next iteration. The bug has caused spurious misbehaving of my program. It was not pleasa..." Tag: Visual edit: Switched

20 August 2024

19 August 2024

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)