Skip to content

Make ht and buffer reading faster #4386

@Rot127

Description

@Rot127

Is your feature request related to a problem? Please describe.

In the callgrind of #4385 one can see that 30% execution time are due to ht_insert and 50% due to rz_buf_read_at.
Since these functions are potentially used very often in algorithms (in this example debug symbol processing), they should be more efficient if possible.

Describe the solution you'd like

Check ht_insert and the read component of the IO layer for inefficiencies.
At least for the hash table it might be even worth considering to replace it with another HT model.
This talk is for C++, but maybe worth a watch.

Describe alternatives you've considered

Doing nothing and just try to minimize the buffer reading and ht usage. But this is not really practical and hard to code.

Additional context

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestperformanceA performance problem/enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions