Use std::list::splice in TaskPool to avoid an allocation
Using std::list::splice to move an element from one list to an other avoids the allocation of a new element and a move of the data. llvm-svn: 251993
Loading
Please sign in to comment
Using std::list::splice to move an element from one list to an other avoids the allocation of a new element and a move of the data. llvm-svn: 251993