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

WIP: dimension performance #196

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kmuehlbauer
Copy link
Collaborator

  • Closes Issue #xxxx
  • Tests added
  • Changes are documented in CHANGELOG.rst

@kmuehlbauer
Copy link
Collaborator Author

@hmaarrfk Could you please check this PR against your use-case in #195. I'm getting almost comparable timings with netCDF4 and h5netcdf.

@hmaarrfk
Copy link
Contributor

hmaarrfk commented Dec 2, 2022

I think this is premature optimization. We should focus on making self._h5ds faster.

    def __len__(self):
        if self._phony:
            return self._size
        return self._h5ds.shape[0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants