0.1.1 • Published 2 months ago

efficient-sorting v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

Efficient Sort Function in JavaScript

DeepScan grade DeepSource CodeScene Code Health NPM Downloads NPM Version

This project provides a JavaScript implementation of an efficient sorting function that dynamically determines the sorting method based on the characteristics of the input array.

Introduction

The goal of this project is to create a sorting function that intelligently selects the most suitable sorting algorithm based on the size and nature of the input array. By dynamically choosing between quicksort and mergesort, the function aims to optimize performance for different scenarios.

Usage

npm install efficient-sorting
    import Sort from 'efficient-sorting'
    let array = [10,20,45,2,1,19,17]
    console.log(Sort(array))

To use the sorting function in your JavaScript project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/IntegerAlex/efficient-sorting.git