Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow different hash table size for dim/var/attr #132

Merged
merged 4 commits into from
Mar 18, 2024
Merged

Commits on Mar 17, 2024

  1. New hints: nc_hash_size_dim, nc_hash_size_var, nc_hash_size_gattr, nc…

    …_hash_size_vattr
    
    Add 4 new PnetCDF hints.
    nc_hash_size_dim:   Set hash table size for dimension names
    nc_hash_size_var:   Set hash table size for variable names
    nc_hash_size_gattr: Set hash table size for global attribute names
    nc_hash_size_vattr: Set hash table size for variable attribute names
    wkliao committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    8220fd6 View commit details
    Browse the repository at this point in the history
  2. Enable different hash table sizes for var, dim, attr

    * Add constant PNC_HSIZE_DIM, the default hash table size for
      dimensions.
    * Add constant PNC_HSIZE_VAR, the default hash table size for
      variables.
    * Add constant PNC_HSIZE_VATTR, the default hash table size for
      attributes per variable.
    * Add constant PNC_HSIZE_GATTR, the default hash table size for
      global attributes.
    * Add PNC_VATTR_ARRAY_GROWBY, which is used to grow the array of
      attributes per variable. The number of attributes per variable is
      expected to be much smaller than the global attributes.
    * Rename some NC_ constant in ncmpio_NC.h to PNC_
    wkliao committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    acd983f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c14d783 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    46d2073 View commit details
    Browse the repository at this point in the history