Skip to content

Review our use of Qt string classes #29

Open
@oktal3700

Description

@oktal3700

Qt has added a class QStringView, the use of which as a function parameter can avoid constructing a QString in many cases. Since one of swift's main performance bottlenecks is QString constructions, it would be nice to review which of our functions can be refactored to take a QStringView parameter.

It might make sense to also consider where we can make more use of QStringLiteral, QLatin1String, QStringRef, and QStringBuilder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrefactorChange code structure without affecting behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions