Skip to content

WIP: dimension performance#196

Open
kmuehlbauer wants to merge 1 commit into
h5netcdf:mainfrom
kmuehlbauer:dimension-performance
Open

WIP: dimension performance#196
kmuehlbauer wants to merge 1 commit into
h5netcdf:mainfrom
kmuehlbauer:dimension-performance

Conversation

@kmuehlbauer
Copy link
Copy Markdown
Collaborator

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

@kmuehlbauer kmuehlbauer force-pushed the dimension-performance branch from e2a5c78 to 59d4db6 Compare December 1, 2022 15:05
@kmuehlbauer
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants