ext-ds VS bst

Compare ext-ds vs bst and see what are their differences.

ext-ds

An extension providing efficient data structures for PHP 7 (by php-ds)

bst

Well Factored, Non-Recursive, General & Generic BSTs in ANSI C (by c-blake)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ext-ds bst
9 2
2,110 2
0.2% -
6.0 2.4
3 months ago 9 months ago
C C
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ext-ds

Posts with mentions or reviews of ext-ds. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-15.

bst

Posts with mentions or reviews of bst. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-15.
  • Exploring the design space of binary search trees
    3 projects | news.ycombinator.com | 15 Aug 2023
    If you like this article then you might also be interested in: https://github.com/c-blake/bst interesting

    It's ANSI C with a bespoke macro generics system not Go, does not cover as many balancing rules, and is not written up as nicely. It does do something only weakly represented in your Go impls, AFAICT - "binary symmetry" - the reflection about left-right intrinsic to most ideas in this area. (Mehlhorn has a book that does this, but that is the only other source I know.) It also has API considerations like seek-edit separation and how to handle in-tree duplicate key FIFO/LIFO/etc (as opposed to values which are also collections).

    Also, Re: B-trees among several comments - edit heavy B-trees with large nodes (driven by IO bandwidth-delay products) need some "mini-scalable" structure for their nodes since shifting (on average) half the entries can cost. That mini-scale could be another B-tree or it could be a binary search tree, perhaps adjusted to have 2-byte sized pointers into the little arena that is a node if 64Knode is enough. I once heard Sybase (now Microsoft SQL Server?) used skip lists. Anyway, this may be a remaining use case for binary trees even in the presence of a B-tree.

  • The Rust compiler has gotten faster again
    8 projects | news.ycombinator.com | 11 Nov 2021
    While I agree the common pattern is to use void*/dynamic dispatch, this is not necessary. E.g., https://github.com/glouw/ctl/ or https://github.com/c-blake/bst show a couple ways to have generic code statically specialized in regular old C.

What are some alternatives?

When comparing ext-ds and bst you can also consider the following projects:

php-ext-xlswriter - 🚀 PHP Extension for creating and reader XLSX files.

bst - Exploring the design space of binary search trees

scalar_objects - Extension that adds support for method calls on primitive types in PHP

ctl - The C Template Library

PHPT - The PHP Interpreter

pyc - A Python to C compiler

swoole-cli - SWOOLE-CLI is a php binary distribution composed swoole & php-core & cli & fpm and mostly of common extensions.

polyfill - Compatibility polyfill

tests

mess - Make your PHP arrays sweet'n'safe