Comments (11)
there was one in the past:
http://jsperf.com/sort-v8-copied/18
the idea behind is to make it generous as much as possible so u can sort anything and within any specified range
from jsfeat.
That's awesome. Do you know who the author of the algorithm is or is it just one of those general optimization techniques people try?
I've done some experiments with Introsort which is a quick sort + heap sort hybrid, but that did not have as good results.
Just wondering if the author would be offended if I plagiarized it..
from jsfeat.
if u look in source u will find the comment:
// The current implementation was derived from *BSD system qsort():
// Copyright (c) 1992, 1993
// The Regents of the University of California. All rights reserved.
from jsfeat.
Ah, thanks. Not sure how I missed that. Should have rtfm
from jsfeat.
One more thing. Did you do the port from BSD's qsort? If not, where did the JS implementation come from?
from jsfeat.
i ported it from C source code. there is no over JS versions. at least i dont know any.
from jsfeat.
Ah, I didn't know. Nice job!
The reason I'm so interested in it is that I need something similar for a project of mine.
It would be helpful if you would publish it as a stand alone module on npm. I'd be happy to do so and give you full credit and/or add you as a maintainer if that would be easier.
from jsfeat.
well u can do it yourself i guess.
from jsfeat.
Thanks. Will do.
from jsfeat.
I published the module here: https://npmjs.org/package/qsort
I tried to give credit where I could and you are listed as the author in the package.json as well.
Thanks. Definitely faster on top of being able to sort partial sets. Awesome work.
from jsfeat.
nice! thanx for the info :)
from jsfeat.
Related Issues (20)
- Add requirements & limitations to the documentation
- Execution time static image processing vs webcam example
- An error in the docs HOT 1
- Simpler examples HOT 3
- Dose it support React Native HOT 1
- Can i use jsfeat with react-native? HOT 1
- Uncaught ReferenceError: module is not defined HOT 4
- Support for iOS 11 HOT 3
- Adding more functionalities
- Help needed!!, ORB matching - How train pattern using image from image folder instead of webcam. HOT 3
- background removal from face portrait
- Tracking a soccer ball in video HOT 1
- Demos stopped working HOT 3
- Hi Mate! There is a 404 Problem with Ur online demo. HOT 1
- demo's don't work "WebRTC not available" HOT 2
- How to transform canvas getImageData() to single channel matrix?
- Natural feature tracking/matching (NFT) in videostream
- Any details of yape06, such as paper or blog
- Pull request guidelines HOT 2
- Canny edges coordinates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsfeat.