Skip to content

USB string langid should be cached somewhere (in USBDevice_t or a new USBHandle_t?) #2614

@jimklimov

Description

@jimklimov

Currently we query for this value in every string request. Given repetitive query loops, caching can help.

Bonus question: Can different strings/queries have different langid's? Would such cache be one int to rule them all, or a map/dict?

Originally posted in #2604

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions