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

Removed static from CachingSeedCleanerByHitPosition::good #3792

Conversation

Dr15Jones
Copy link
Contributor

The function local static was to a class with no member data and
no virtual functions. Since it had no state there was no need to make
it static and making it static meant the compiler had to use lots of
extra machine code. Removing the static and making it const makes the
code easier to reason about and avoids complaints from the static
analyzer.

The function local static was to a class with no member data and
no virtual functions. Since it had no state there was no need to make
it static and making it static meant the compiler had to use lots of
extra machine code. Removing the static and making it const makes the
code easier to reason about and avoids complaints from the static
analyzer.
@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2014

A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_7_1_X.

Removed static from CachingSeedCleanerByHitPosition::good

It involves the following packages:

RecoTracker/CkfPattern

@nclopezo, @cmsbuild, @anton-a, @thspeer, @slava77, @Degano can you please review it and eventually sign? Thanks.
@ghellwig, @GiacomoSguazzoni, @rovere, @gpetruc, @cerati, @venturia this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@nclopezo, @ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@Dr15Jones
Copy link
Contributor Author

@slava77 @anton-a ping?

@ktf
Copy link
Contributor

ktf commented May 13, 2014

Trivial, bypassing. Complain if not ok.

ktf added a commit that referenced this pull request May 13, 2014
…nerByHitPosition

Multithreading -- Removed static from CachingSeedCleanerByHitPosition::good
@ktf ktf merged commit b6ecc94 into cms-sw:CMSSW_7_1_X May 13, 2014
@slava77
Copy link
Contributor

slava77 commented May 13, 2014

+1

for #3792 e08c4b1

tested in CMSSW_7_1_X_2014-05-12-0200 (test area sign369decB)
no changes observed in monitored quantities

@Dr15Jones Dr15Jones deleted the removeStaticInCachingSeedCleanerByHitPosition branch June 12, 2014 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants