Skip to content

Change default expansion behaviour for tables to doubling #5

Closed

Description

@jeromekelleher

The C tables currently have a mechanism for incrementing the available size using a constant value. The default is to expand with a fixed size of 1024 rows. This should be changed to default to doubling on demand as follows: if the max_rows_increment value is 0, we double the number of rows (or increase the size to the requested, whichever is larger). This should be efficient in most cases, and also give good flexibility for those who want to tightly control memory usage and realloc behaviour.

Activity

  1. added
    enhancement
    C API
    on Jan 8, 2019
  2. added this to the C Upcoming milestone on Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C APIenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions