Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
swenson
/
sort
Public
Notifications
You must be signed in to change notification settings
Fork
88
Star
473
Code
Issues
5
Pull requests
1
Actions
Projects
Wiki
Security
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Commits
Branch selector
main
User selector
All users
All time
Commit History
Commits on Feb 13, 2024
Add GitHub Actions (#88)
Show description for 24f5b8b
swenson
authored
24f5b8b
Copy full SHA for 24f5b8b
Commits on Feb 2, 2024
Update gitignore for _extra files
swenson
committed
13df0d1
Copy full SHA for 13df0d1
Commits on Feb 1, 2024
Move less commonly used algorithms to sort_extra.h
Show description for 807cfab
swenson
committed
807cfab
Copy full SHA for 807cfab
Commits on Nov 29, 2023
Added optional SORT_DEF macro
mlabbe
authored and
swenson
committed
81b008b
Copy full SHA for 81b008b
Commits on May 22, 2021
Use small stable sort (binary insertion) for stable sorts
swenson
committed
5820a80
Copy full SHA for 5820a80
Commits on Dec 23, 2020
Merge pull request #80 from timgates42/bugfix_typo_inlining
Show description for f79f2a5
swenson
authored
f79f2a5
Copy full SHA for f79f2a5
Commits on Dec 19, 2020
docs: fix simple typo, inlineing -> inlining
Show description for 8ab2be8
timgates42
committed
8ab2be8
Copy full SHA for 8ab2be8
Commits on Dec 3, 2020
Clean up language in README
swenson
committed
8a036f1
Copy full SHA for 8a036f1
Merge pull request #79 from swenson/revert-gallop
Show description for ae94cec
swenson
authored
ae94cec
Copy full SHA for ae94cec
Revert gallop code
Show description for 862746d
swenson
committed
862746d
Copy full SHA for 862746d
Commits on Mar 4, 2020
Format
swenson
committed
749d33e
Copy full SHA for 749d33e
Merge pull request #75 from tony2001/fix_off_by_one_in_stresstest
Show description for bee6c87
swenson
authored
bee6c87
Copy full SHA for bee6c87
Commits on Mar 3, 2020
fix off-by-one in stresstest
tony2001
committed
14fada4
Copy full SHA for 14fada4
Commits on Oct 16, 2019
Merge pull request #72 from Baobaobear/patch_cpp_1
Show description for 61d99a3
swenson
authored
61d99a3
Copy full SHA for 61d99a3
Commits on Oct 8, 2019
safe copy for C++
Show description for 95310ab
Baobaobear
committed
95310ab
Copy full SHA for 95310ab
Commits on Oct 7, 2019
Merge pull request #70 from Baobaobear/patch-disable-warning-1
Show description for 2a337f2
swenson
authored
2a337f2
Copy full SHA for 2a337f2
Commits on Sep 30, 2019
disable unused function warnings
Baobaobear
committed
18c2815
Copy full SHA for 18c2815
Commits on Sep 26, 2019
Merge pull request #67 from Baobaobear/patch-1
Show description for 32caf32
swenson
authored
32caf32
Copy full SHA for 32caf32
Merge pull request #68 from Baobaobear/patch-2
Show description for 0474677
swenson
authored
0474677
Copy full SHA for 0474677
Commits on Sep 25, 2019
use the builtin `<` operator only
Baobaobear
committed
68acb78
Copy full SHA for 68acb78
refine output and allocating
Baobaobear
committed
596c803
Copy full SHA for 596c803
Add Baobaobear as contributor; update copyright; sort contributors
swenson
committed
9311594
Copy full SHA for 9311594
Merge pull request #66 from Baobaobear/bao_master
Show description for ac920e9
swenson
authored
ac920e9
Copy full SHA for ac920e9
Commits on Sep 24, 2019
add undef MERGE_SORT_RECURSIVE
Baobaobear
committed
5b02705
Copy full SHA for 5b02705
mergesort alloc only once
Baobaobear
committed
a956510
Copy full SHA for a956510
Commits on Sep 22, 2019
Merge pull request #64 from swenson/swapped
Show description for 061708d
swenson
authored
061708d
Copy full SHA for 061708d
Swap needs to be in inner loop in stresstest.c; fixes #52
swenson
committed
6786b05
Copy full SHA for 6786b05
Commits on Sep 21, 2019
Merge pull request #63 from swenson/quick-improvements
Show description for 8efaeaf
swenson
authored
8efaeaf
Copy full SHA for 8efaeaf
Quick sort: Lomuto partitioning, 5-median, TCO, heap sort
Show description for 95ec748
swenson
committed
95ec748
Copy full SHA for 95ec748
Use simpler evil data generation algorithm (thanks @Baobaobear!)
swenson
committed
50b314d
Copy full SHA for 50b314d
Add quick sort manual tail-call optimization
Show description for f57f8b6
swenson
committed
f57f8b6
Copy full SHA for f57f8b6
Commits on Aug 20, 2019
Disable clang-5.0; add DrMarkS to contributors
swenson
committed
57e04dc
Copy full SHA for 57e04dc
Merge pull request #61 from DrMarkS/small_bitonic
Show description for b00c2ce
swenson
authored
b00c2ce
Copy full SHA for b00c2ce
Commits on Aug 16, 2019
Removed references to bitonic_sort.h
DrMarkS
committed
f8cbd55
Copy full SHA for f8cbd55
Commits on Aug 11, 2019
Placed routines for small sorting networks into sort.h.
DrMarkS
committed
b5f326a
Copy full SHA for b5f326a
Pagination
Previous
Next
You can’t perform that action at this time.