I have a vector of pairs ordered by key in decrementing order. I want to efficiently transform it to a map. This is what I currently do:I have a vector of pairs ordered by key in decr
I have a vector of pairs ordered by key in decrementing order. I want to efficiently transform it to a map. This is what I currently do:I have a vector of pairs ordered by key in decr