Skip to content

Suboptimal string operations #96

@WSSDude

Description

@WSSDude

There is a lot of suboptimal string operations all over the place

  • numerous formats without proper buffering leading to tons of temporary allocations, some small some large
  • lot of pointers to strings which do not hold size, leading to numerous unnecessary std::strlen ops in different places where it could be avoided
  • stringstream use with bunch of std::endl causing flushes (should probably be replaced by fmt::format overall with proper buffering for better performance and std::endl replaced with simple newline)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions