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

♻️⚡ optimize implementation of collectBlocks #584

Merged
merged 1 commit into from
Apr 14, 2024

Conversation

burgholzer
Copy link
Member

Description

This PR slightly optimizes the implementation of the collectBlocks optimization pass introduced in #581.

Checklist:

  • The pull request only contains commits that are related to it.
  • I have added appropriate tests and documentation.
  • I have made sure that all CI jobs on GitHub pass.
  • The pull request introduces no new warnings and follows the project's style guidelines.

Signed-off-by: burgholzer <burgholzer@me.com>
@burgholzer burgholzer added code quality Code quality improvements Core Anything related to the Core library and IR c++ Anything related to C++ code labels Apr 14, 2024
@burgholzer burgholzer added this to the MQT Core milestone Apr 14, 2024
@burgholzer burgholzer self-assigned this Apr 14, 2024
Copy link

codecov bot commented Apr 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.3%. Comparing base (63fdf10) to head (df85778).

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main    #584   +/-   ##
=====================================
  Coverage   91.3%   91.3%           
=====================================
  Files        132     132           
  Lines      14043   14052    +9     
  Branches    2244    2243    -1     
=====================================
+ Hits       12832   12841    +9     
  Misses      1211    1211           
Flag Coverage Δ
cpp 91.0% <100.0%> (+<0.1%) ⬆️
python 99.5% <ø> (ø)
Files Coverage Δ
include/mqt-core/operations/CompoundOperation.hpp 100.0% <ø> (ø)
src/CircuitOptimizer.cpp 88.3% <100.0%> (-0.1%) ⬇️
src/operations/CompoundOperation.cpp 83.3% <100.0%> (+2.6%) ⬆️

@burgholzer burgholzer merged commit 868849c into main Apr 14, 2024
37 checks passed
@burgholzer burgholzer deleted the optimize-collect-blocks branch April 14, 2024 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Anything related to C++ code code quality Code quality improvements Core Anything related to the Core library and IR
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant