Skip to content

Avoid regex parsing and allocations in ucrednetGet #680

@benhoyt

Description

@benhoyt

ucrednetGet is using a regex for parsing pid, uid, and socket from the remoteAddr string. This does a number of allocations, when the whole operation could be allocation-free with a parser approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    26.04An item we hope to do in the 26.04 cycleperformancePerformance-oriented itemrainy daySmall items done in ~10% of each week's time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions