Skip to content

perf: Add special case to Table.add_rows to increase performance#608

Merged
lars-reimann merged 5 commits intomainfrom
perf_add_rows
Apr 5, 2024
Merged

perf: Add special case to Table.add_rows to increase performance#608
lars-reimann merged 5 commits intomainfrom
perf_add_rows

Conversation

@Marsmaennchen221
Copy link
Copy Markdown
Contributor

See #606

Summary of Changes

perf: Add special case to Table.add_rows to increase performance

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 2 0 0 0.89s
✅ PYTHON mypy 2 0 1.82s
✅ PYTHON ruff 2 0 0 0.17s
✅ REPOSITORY git_diff yes no 0.26s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (e555b85) to head (8450dc6).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #608   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           53        53           
  Lines         3208      3212    +4     
=========================================
+ Hits          3208      3212    +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Contributor

@WinPlay02 WinPlay02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider the suggestion, otherwise I agree. I'll close my second PR then.

I guess checking the schema will ensure correctness and will prevent surprising the user, that sometimes an add_rows operation works, and sometimes it doesn't

Copy link
Copy Markdown
Contributor

@WinPlay02 WinPlay02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@lars-reimann lars-reimann merged commit ffb8304 into main Apr 5, 2024
@lars-reimann lars-reimann deleted the perf_add_rows branch April 5, 2024 09:40
lars-reimann pushed a commit that referenced this pull request Apr 17, 2024
## [0.21.0](v0.20.0...v0.21.0) (2024-04-17)

### Features

* add ARIMA model ([#577](#577)) ([8b9c7a9](8b9c7a9)), closes [#570](#570)
* Add ImageList class ([#534](#534)) ([3cb74a2](3cb74a2)), closes [#528](#528) [#599](#599) [#600](#600)
* more hash, sizeof and eq implementations ([#609](#609)) ([2bc0b0a](2bc0b0a))

### Performance Improvements

* Add special case to `Table.add_rows` to increase performance ([#608](#608)) ([ffb8304](ffb8304)), closes [#606](#606)
* improve performance of model & forward layer ([#616](#616)) ([e856cd5](e856cd5)), closes [#610](#610)
* lazily import our modules and external libraries ([#624](#624)) ([20fc313](20fc313))
* treat Tables specially when calling add_rows ([#606](#606)) ([e555b85](e555b85)), closes [#575](#575)
@lars-reimann
Copy link
Copy Markdown
Member

🎉 This PR is included in version 0.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lars-reimann lars-reimann added the released Included in a release label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Included in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants