programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
lysdexicM to C++English · 2 years ago

For processing strings, streams in C++ can be slow

lemire.me

external-link
message-square
0
link
fedilink
5
external-link

For processing strings, streams in C++ can be slow

lemire.me

lysdexicM to C++English · 2 years ago
message-square
0
link
fedilink
The C++ library has long been organized around stream classes, at least when it comes to reading and parsing strings. But streams can be surprisingly slow. For example, if you want to parse numbers, then this C++ routine is close to being the worst possible choice for performance: std::stringstream
alert-triangle
You must log in or register to comment.

C++

cpp

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

The center for all discussion and news regarding C++.

Rules

  • Respect instance rules.
  • Don’t be a jerk.
  • Please keep all posts related to C++.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 14 users / week
  • 71 users / month
  • 239 users / 6 months
  • 518 local subscribers
  • 2.06K subscribers
  • 305 Posts
  • 632 Comments
  • Modlog
  • mods:
  • lysdexic
  • farados@vlemmy.net
  • Nihili0
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org