Skip to content

daminton/insertion_sort

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
mod
 
 
src
 
 
 
 
 
 

insertion sort

This is a simple test of an insertion sort subroutine with timing information.
The program will two arrays of random real numbers using insertion sort and time the results. The first array is random numbers. The second array is the first array with a random fraction of values replaced by new ones, in order to demonstrate that insertion sort is faster with nearly-sorted arrays.

About

Tests insertion sort with timing

Resources

Stars

Watchers

Forks

Releases

No releases published