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

rewrite groupByPlacement to avoid multiple scans of array #918

Merged
merged 3 commits into from
Feb 7, 2017

Conversation

kitwestneat
Copy link
Contributor

Type of change

  • Code style update (formatting, local variables)

Description of change

I noticed groupByPlacement had a few unnecessary loops and not very descriptive variable names, so I cleaned it up a bit.

kitwestneat and others added 3 commits January 12, 2017 16:20
This patch also uses more descriptive argument names.
lines 53 and 61 - allows the http response from our ad api to set cookies.  This somehow increases fill.

everything else - fixes an issue where "no bid" responses aren't registered with prebid in certain cases, causing auction timeouts.
@kitwestneat
Copy link
Contributor Author

sorry I bungled the pull request, it's only supposed to be commit 897d34f. Should I resubmit the PR on its own branch? Thanks.

@matthewlane
Copy link
Collaborator

No worries, the extra commits will be squashed

Copy link
Collaborator

@matthewlane matthewlane left a comment

Choose a reason for hiding this comment

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

Confirmed functionality is the same, LGTM. Thanks for the refactor!

@matthewlane matthewlane merged commit 22f1fad into prebid:master Feb 7, 2017
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.

5 participants