AminetAminet
Search:
84844 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/libs/containers.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:Provides containers + related algos
Author: cbo at boemann.dk (Camilla Boemann)
Uploader:cbo boemann dk (Camilla Boemann)
Type:util/libs
Version:1.4
Architecture:m68k-amigaos
Date:2025-04-30
Replaces:util/libs/containerkit.lha
Download:util/libs/containers.lha - View contents
Readme:util/libs/containers.readme
Downloads:457

Containers.library provides containers and related algorithms.
It is planned to be distributed with AmigaOS 3.3 as well as being
available through aminet and other distribution channels.

It is released under LGPLv2 and the source code is available at:
  http://gitlab.com/boemann/containers.library

The following containers are provided in version 1.4:

 Array  - a dynamic array, aka vector
          Elements can be up to 255 bytes.

 Map    - a map using hashtables aka unordered map
          The map can have a payload of 0 size and thus work as if
          it is a set.

The following algorithms are available:

 - StableSortArray()

 - StableSortList()

In future releases a red-black tree will be provided.


Installation
------------
copy containers.library to libs:


Using it as a Programmer
------------------------

Until we provide actual documentation you could take a look at the
gitlab page and look in unittests sub directory

You can learn a lot from seeing that


Contribute
----------
Contact us for contributing to the project.


History
-------

1.4 (2025-April-26)

- Fix bug in signature of MapIntToCopiedValue
- The compare function of the StableSortXxxx functions should be stdarg
- Refactor to newest version of Checkmark

1.3 (2025-April-13)

- ArrayForEach would cause hit - Benign, but a hit none the less.
- PtrToValueOfKey would fail for payload not of size 4
- Various minor changes to make it more buildable with VBCC
- Make accessing the Array pools rentrant / multitasking safe

1.2 (2025-April-6)

- Project renamed from containerkit.library to
  containers.library
- Array can have any size elements
- Note that NewArray() has a different signature
- A few macros for exec lists
- Stable sorting algorithms for Array and List
- The Map can now also be multi map
- The Map can have larger payload
- Added hashmap unordered sets
- Fix include files
- Several macros have changed name

1.1 was named containerkit.library and should not be used


Contents of util/libs/containers.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[Amiga]                   1036    2814  36.8% -lh5- 460f Apr 25 15:46 include_h/clib/containers_protos.h
[Amiga]                    729    1643  44.4% -lh5- 068f Apr 12 22:24 include_h/containers/array.h
[Amiga]                    607    1115  54.4% -lh5- 17c3 Apr 12 14:18 include_h/containers/list.h
[Amiga]                    846    1600  52.9% -lh5- b201 Apr 12 22:24 include_h/containers/map.h
[Amiga]                   1537   13113  11.7% -lh5- 5ea6 Apr 25 15:46 include_h/inline/containers.h
[Amiga]                   1703    8080  21.1% -lh5- fa3c Apr 25 15:46 include_h/inline/containers_protos.h
[Amiga]                    967    3274  29.5% -lh5- 97b4 Apr 25 15:46 include_h/pragma/containers_lib.h
[Amiga]                    961    3037  31.6% -lh5- fa24 Apr 25 15:46 include_h/pragmas/containers_pragmas.h
[Amiga]                    830    1977  42.0% -lh5- 13ad Apr 25 15:46 include_h/proto/containers.h
[Amiga]                   3913    7648  51.2% -lh5- 17a5 Apr 25 15:46 containers.library
[Amiga]                   9646   26530  36.4% -lh5- 7b42 Apr 12 14:18 COPYING.LESSER
[Amiga]                   1105    2242  49.3% -lh5- 0688 Apr 26 15:41 containers.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        12 files   23880   73073  32.7%            Apr 30 23:04
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>