Giter VIP home page Giter VIP logo

make-github-pseudonymous-again / js-sorting Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 1.85 MB

:signal_strength: Sorting algorithms for JavaScript

Home Page: https://make-github-pseudonymous-again.github.io/js-sorting

License: GNU Affero General Public License v3.0

JavaScript 100.00%
sorting-algorithms algorithms javascript agpl bucket-sort radix-sort quick-sort merge-sort heap-sort counting-sort

js-sorting's People

Contributors

greenkeeper[bot] avatar greenkeeperio-bot avatar make-github-pseudonymous-again avatar renovate-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

js-sorting's Issues

An in-range update of ava is breaking the build 🚨

Version 0.18.2 of ava just got published.

Branch Build failing 🚨
Dependency ava
Current Version 0.18.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As ava is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details
Release Notes 0.18.2

Many bug fixes for snapshot testing, magic assert, and the type definitions: v0.18.1...v0.18.2

Commits

The new version differs by 26 commits .

  • 98dded5 0.18.2
  • 7cba283 Speed up flow check (#1241)
  • d47c5c8 Document that deepEqual() uses lodash.isequal
  • 2ff56ce Don't call toJSON() when formatting values
  • 795f097 @ava/pretty-format@^1.1.0
  • 9cea60d Ensure test run failures crash worker (#1265)
  • f3b60f4 Code excerpt fixes (#1271)
  • 8d6f9bc Fix typo in babelrc docs
  • 3d75834 Remove Notes section from babelrc documentation
  • 4f87059 Ensure watcher rethrows logger errors
  • da68f29 Simplify failure output - fixes #1072 (#1234)
  • 2c683b9 Clean up API tests (#1258)
  • 8a8669c Generate HTML coverage reports (#1259)
  • 87ea70f Ensure TAP reporter test does not write to stderr (#1240)
  • 09a4765 Avoid helper compilation during API tests

There are 26 commits in total. See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

convenience wrapper

this

heapsort = sort.__heapsort__( 2 );
heapsort( compare, array, 0, array.length );

could then be written

heapsort = sort.whole(  sort.__heapsort__( 2 ) );
heapsort( compare, array );

heapsort using O(n) makeheap

sifting down instead of sifting up

// >= 0 is necessary when arity = 1 and n = 0
for ( k = ( n + arity - 2 ) / arity | 0 ; k-- >= 0 ; ) {
    siftdown( arity , compare , swap , a , 0 , n , k ) ;
}

simplify hoare

  • use a >= b instead of b <= a
  • use > and < instead of >= and <=
  • reuse x variable instead of assigning to t

An in-range update of @aureooms/js-itertools is breaking the build 🚨

Version 3.1.1 of @aureooms/js-itertools just got published.

Branch Build failing 🚨
Dependency @aureooms/js-itertools
Current Version
</td>
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As @aureooms/js-itertools is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details
Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

API issorted

Split into firstInversion = issorted and isSorted = (compare, a, i, j) => firstInversion(compare, a, i, j) === j.

An in-range update of @aureooms/js-in-situ-sort-spec is breaking the build 🚨

Version 7.0.2 of @aureooms/js-in-situ-sort-spec just got published.

Branch Build failing 🚨
Dependency @aureooms/js-in-situ-sort-spec
Current Version 7.0.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As @aureooms/js-in-situ-sort-spec is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details
Commits

The new version differs by 5 commits .

See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

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.

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 ;

}

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.