Skip to content

Should we not enlarge PagedGrowableWriter initial bitPerValue on NodeHash.rehash()? #12744

@dungba88

Description

@dungba88

Description

Spawn from #12738

It seems on rehash we will use an initial bitPerValue set to cover the last node address.

Does that mean every values, including the ones with low-address will use the same bpv as the high-address nodes? PagedGrowableWriter already enlarge the bpv automatically, so maybe we could always set the initial bpv to a small value (like 8?)

Let see if the total size is different when making the change

Version and environment details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions