GithubHelp home page GithubHelp logo

comparison-sorting / merging Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 848 KB

:waning_gibbous_moon: Merging algorithms for JavaScript

Home Page: https://aureooms.github.io/js-merging

License: GNU Affero General Public License v3.0

JavaScript 100.00%
merging-algorithms sorting-algorithms mergesort agpl algorithms javascript computer-science stable-sort stable-sorting

merging's Introduction

merging's People

Contributors

greenkeeperio-bot avatar make-github-pseudonymous-again avatar renovate-bot avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

clytze1016

merging's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm @aureooms/js-array Unavailable
npm @aureooms/js-compare Unavailable
npm @aureooms/js-functools Unavailable
npm @aureooms/js-itertools Unavailable
npm @aureooms/js-random Unavailable
npm @babel/polyfill Unavailable

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency np to v10
  • Update dependency nyc to v17
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • @aureooms/js-array 4.0.0
  • @aureooms/js-compare 1.4.8
  • @aureooms/js-functools 2.0.3
  • @aureooms/js-itertools 5.0.1
  • @aureooms/js-random 2.0.0
  • @aureooms/js-search 0.0.4
  • @aureooms/js-sll 1.0.2
  • @aureooms/js-sort 7.0.0
  • @babel/cli 7.13.10
  • @babel/core 7.13.10
  • @babel/polyfill 7.12.1
  • @babel/preset-env 7.13.10
  • @babel/register 7.13.8
  • ava 3.15.0
  • babel-plugin-transform-remove-console 6.9.4
  • babel-plugin-unassert 3.0.1
  • babel-preset-power-assert 3.0.0
  • coveralls 3.1.0
  • esdoc 1.1.0
  • esdoc-inject-script-plugin 1.0.0
  • esdoc-inject-style-plugin 1.0.0
  • esdoc-standard-plugin 1.0.0
  • np 7.4.0
  • nyc 15.1.0
  • power-assert 1.6.1
  • regenerator-runtime 0.13.7
travis
.travis.yml

  • Check this box to trigger a request for Renovate to run again on this repository

more obvious tapemerge implementation

use

while ( true ) {

    if ( ai >= aj ) {
        while ( bi < bj ) { ... }
        return ;
    }

    if ( bi >= bj ) {
        do { ... } while ( ai < aj ) ;
        return ;
    }

    if ( compare( a[ai] , b[bi] ) <= 0 ) {
        ...
    }

    else {
        ...
    }

    ++ci ;

}

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

Original Hwang-Lin algorithm

The current implementation is a static version of the algorithm as described in

MANACHER, Glenn K. The Ford-Johnson sorting algorithm is not optimal. Journal of the ACM (JACM), 1979, vol. 26, no 3, p. 441-456.

and

MANACHER, Glenn K. Significant improvements to the Hwang-Lin merging algorithm. Journal of the ACM (JACM), 1979, vol. 26, no 3, p. 434-440.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.