Skip to content

[NFC] complexity_n is not of IterationCount type#1709

Merged
dmah42 merged 2 commits into
google:mainfrom
LebedevRI:typedef
Dec 7, 2023
Merged

[NFC] complexity_n is not of IterationCount type#1709
dmah42 merged 2 commits into
google:mainfrom
LebedevRI:typedef

Conversation

@LebedevRI

Copy link
Copy Markdown
Collaborator

There is no bug here, but it gave me a scare the other day.
It is not incorrect to use IterationCount here,
since it's just an int64_t either way,
but it's wildly confusing. Let's not do that.

LebedevRI and others added 2 commits December 7, 2023 00:08
There is no bug here, but it gave me a scare the other day.
It is not incorrect to use `IterationCount` here,
since it's just an `int64_t` either way,
but it's wildly confusing. Let's not do that.
@dmah42

dmah42 commented Dec 7, 2023

Copy link
Copy Markdown
Member

nice catch. i completely missed that.

@dmah42 dmah42 merged commit 5056098 into google:main Dec 7, 2023
@LebedevRI LebedevRI deleted the typedef branch December 7, 2023 16:07
@LebedevRI

Copy link
Copy Markdown
Collaborator Author

@dmah42 thank you.

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