Skip to content

Conversation

ddemidov
Copy link
Contributor

This should help to get rid of unnecessary heap allocations.

The wait lists are usually small, which means that just pushing back
elements without prior call to reserve has very high chance of hitting
capacity limit every time wait_list::insert is called.

This should help to get rid on unnecessary heap allocations.

The wait lists are usually small, which means that just pushing back
elements without prior call to reserve has very high chance of hitting
capacity limit every time wait_list::insert is called.
@jszuppe
Copy link
Contributor

jszuppe commented Mar 18, 2016

POCL builds on Travis-CI failed because of a bug in POCL (introduced by pocl/pocl@e796cd1). I'm pretty sure it was fixed by pocl/pocl@c3e93fb. Disadvantage of using master branch. There's no need to retry Travis-CI builds.

@ddemidov ddemidov closed this Mar 18, 2016
@ddemidov ddemidov mentioned this pull request Mar 18, 2016
@ddemidov ddemidov deleted the wait_list-reserve branch March 18, 2016 19:33
@ddemidov ddemidov mentioned this pull request Mar 18, 2016
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