Home

Awesome

Data Structures For Games

ds logo

The library contains parametrized classes that allow programmers to easily implement standard data structures like linked lists, queues, stacks or multi-dimensional arrays. The result is somewhere in between the C++ STL (Standard Template Library) and the Java Collection framework.

Documentation

Cross-Platform Support

ds supports the following Haxe compilation targets: -swf, -js, -neko, -python, -php, -cpp

-hl, -java, -cs, jvm are experimental.

Installation

Install Haxe and run $ haxelib install polygonal-ds from the console, then compile with $ haxe ... -lib polygonal-ds.

Conditional Compilation Flags

-D generic

Enables generic classes (adds @:generic meta). Nice performance boost for static typed platforms (-swf,-cpp only).

-D alchemy

Enables fast virtual memory for FP10+ ("alchemy memory"). Extra performance for Flash.

Changelog

2.2.0 (wip)

2.1.1 (released 2019-11-10)

Supports Haxe Compiler 4.0.1, hxcpp 4.0.64

2.0.1 (released 2017-10-10)

Supports Haxe Compiler 3.4.4, hxcpp 3.4.188

2.0.0 (released 2017-01-31)

Supports Haxe Compiler 3.4.0, hxcpp 3.4.49

2.0.0-rc1 (released 2016-11-05)

Supports Haxe Compiler 3.4.0-rc1, hxcpp 3.4.2

2.0.0-beta (released 2016-05-24)

1.4.1 (released 2013-07-08)

1.4.0 (released 2013-06-28; Haxe 3.0.0)

Supports Haxe Compiler 3.0.0

1.39 (released 2013-02-12)

Supports Haxe Compiler 2.10 & Haxe 3.00 r6189

1.38 (released 2013-01-27)

1.37 (released 2012-11-15)

1.36 (released 2012-07-25)

1.35 (released 2011-12-22)

1.34 (released 2011-10-26)

1.33 (released 2011-10-21)

1.32 (released 2011-07-17)

1.31 (released 2011-04-11)

1.30 (released 2011-03-03)

1.23 (released 2011-01-30)

1.22 (released 2011-01-11)

1.21 (released 2010-12-12)

1.20 (released 2010-11-01)

1.12 (released 2010-10-18)

1.11 (released 2010-07-22)

1.1 (released 2010-03-15)

1.06 (released 2010-01-31)

1.05 (released 2009-12-24)

1.0 (released 2009-12-09)