-
Notifications
You must be signed in to change notification settings - Fork 108
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
C++17 lambda + parallel #154
base: master
Are you sure you want to change the base?
Conversation
I am not sure how much slower/faster the lambda paradiam is, so let's be safe and run the comparison before we decide.
You forgot to update benchmark.toml. Also can you update countlines? |
A colon in the name is now understood to not change the $name attribute. The TOML has been updated for C++17.
bench.py
Outdated
@@ -117,7 +117,8 @@ def load_config(): | |||
profile['name'] = name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this line be deleted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. Just because we are defining ${name}
as meaning "name without the front part" does not mean we can leave it undefined in the dict.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But won't there be multiple name
arguments passed into safe_substitute
?
C++17/Makefile
Outdated
|
||
swapview-par-lam: swapview.cpp | ||
$(CXX) swapview.cpp -o swapview-par-lam $(PAR) $(LAM) $(CXXFLAGS) | ||
strip swapview |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The above is stripping a wrong binary.
This doesn't compile (C++17) with latest gcc / g++ from Arch. Is there anything missed or changed? |
I am not sure how much slower/faster the lambda paradiam is, so let's be safe and run the comparison before we decide whether the old impl should be kept.