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

Use Abseil; remove fmt/span-lite/phmap #19

Merged
merged 2 commits into from
Nov 2, 2020
Merged

Use Abseil; remove fmt/span-lite/phmap #19

merged 2 commits into from
Nov 2, 2020

Conversation

binji
Copy link
Member

@binji binji commented Nov 2, 2020

I tried using absl a while back and gave up on it. But now it actually
seems to be making things simpler!

TODO: The formatting functions still use C++ streams, which should be
replaced by the absl::str_format library. This means that wasp types
need to be wrapped in concat() when passing to an absl formatting
function.

I tried using absl a while back and gave up on it. But now it actually
seems to be making things simpler!

TODO: The formatting functions still use C++ streams, which should be
replaced by the absl::str_format library. This means that wasp types
need to be wrapped in `concat()` when passing to an absl formatting
function.
@binji binji requested a review from sbc100 November 2, 2020 17:41
Copy link
Member

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

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

Last time I tried absl for a small program I noticed it slowed down my build quite a bit. Maybe wasp is already big enough that its not a significant increase?

@binji
Copy link
Member Author

binji commented Nov 2, 2020

@sbc100 Looking at the circleci build times, it looks like it increases build time somewhat:

build-clang-debug: 4:39 -> 5:03
build-gcc-debug: 5:56 -> 6:59
build-clang-release: 6:53 -> 7:49

This isn't a perfect measurement, not quite sure if I'm looking at the right numbers.

@binji binji merged commit 6439085 into master Nov 2, 2020
@binji binji deleted the abseil branch November 2, 2020 19:48
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