dummy-link

MergeSorted

Merge two sorted vectors into a sorted vector

Readme

MergeSorted

Build Status codecov.io

Efficiently merge two sorted vectors into one sorted vector. Provides the mergesorted and mergesorted! functions.

E.g.

using MergeSorted

a = sort!(rand(1000), order=Base.Reverse)
b = sort!(rand(1000), order=Base.Reverse)
c = mergesorted(a,b, order=Base.Reverse)
sort!(vcat(a,b), order=Base.Reverse) == c

MergeSorted can be installed as follows.

Pkg.add("MergeSorted")

First Commit

02/03/2018

Last Touched

6 months ago

Commits

4 commits