定制 bilalatli/php-sorting 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bilalatli/php-sorting

Composer 安装命令:

composer require bilalatli/php-sorting

包简介

PHP Sorting Algorithms

README 文档

README

  • Shell Sort
  • Bubble Sort
  • Counting Sort
  • Heap Sort
  • Insert Sort
  • Selection Sort
  • Comb Sort
  • Quick Sort
  • Merge Sort
  • Gnome Sort
  • Cocktail Sort
  • OddEven Sort
  • Bubble Sort With Flag
  • Combined Bubble Sort
  • Stupid Sort

Installation

composer require bilalatli/php-sorting

Benchmarking

  • Set Active/Passive Benchmark ;
// Set Active
Sorting::setBenchmark(true): void;

// Set Passive [Default]
Sorting::setBenchmark(false): void;
  • Get Benchmark Mode is Active or Passive ;
Sorting::isBenchmarkActive(): bool;
  • Get Benchmark Status ;
Sorting::getBenchmark(): BALib\Sorting\Benchmark;

Unit Test

Try to run

vendor/bin/phpunit tests/SortingTests

Cli Benchmark [Development]

php examples/cli-test.php {itemCount: 5000 Default}

PHP Version php ^7.*

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-07-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固