Skip to content

Commit

Permalink
Created pre-release build 1.0.6.32
Browse files Browse the repository at this point in the history
+ Added `FB_Ordered_Hash_Set`
+ Added `FB_Ordered_Hash_Map`
+ Retrieving keys and values from maps and sets is now more efficient. The `Get_Keys(...)` and `Get_Values(...)` methods no longer loop through the entire collection on each call if the collections haven't changed.
  • Loading branch information
fisothemes committed Jul 27, 2024
1 parent 3c4020d commit 280b03c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ Here are some of the features of Dynamic Collections:

* 👍 **FB_Deque** - (Pronounced as 'deck') Double-Ended Queue. A collection that supports the insertion and removal of items at the front and back. Its base is FB_List. Can store multiple types. Implements `I_Deque`.

* 👍 **FB_Ordered_Hash_Set** - A collection that maintains unique items while preserving their insertion order. Implemented using a hash table with closed addressing. Can store multiple types. Implements `I_Hash_Set`.

* 👍 **FB_Ordered_Hash_Map** - A collection that maintains key-value pairs with unique keys while preserving their insertion order. Implemented using a hash table with closed addressing. Can store multiple types. Implements `I_Hash_Map`.

## Interface UML

![TwinCAT Collections Interface UML](./assets/images/TwinCAT%20Dynamic%20Collections%20Interface%20UML.jpg)
Expand Down
Binary file added builds/1.0.6.32/TcDynCollections.library
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ END_VAR]]></Declaration>
<Implementation>
<ST><![CDATA[F_GetVersion.iMajor := 1;
F_GetVersion.iMinor := 0;
F_GetVersion.iBuild := 5;
F_GetVersion.iRevision := 31;
F_GetVersion.iBuild := 6;
F_GetVersion.iRevision := 32;
]]></ST>
</Implementation>
</POU>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<Title>TwinCat Dynamic Collections</Title>
<Author>Goodwill Mzumala</Author>
<DefaultNamespace>TcDynCollections</DefaultNamespace>
<ProjectVersion>1.0.5.31</ProjectVersion>
<ProjectVersion>1.0.6.32</ProjectVersion>
<DocFormat>reStructuredText</DocFormat>
<Description>A library for handling collections of data dynamically in TwinCAT.</Description>
<CombineIds>true</CombineIds>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// This function has been automatically generated from the project information.
VAR_GLOBAL CONSTANT
{attribute 'const_non_replaced'}
stLibVersion_TwinCat_Dynamic_Collections : ST_LibVersion := (iMajor := 1, iMinor := 0, iBuild := 5, iRevision := 31, nFlags := 0, sVersion := '1.0.5.31');
stLibVersion_TwinCat_Dynamic_Collections : ST_LibVersion := (iMajor := 1, iMinor := 0, iBuild := 6, iRevision := 32, nFlags := 0, sVersion := '1.0.6.32');
END_VAR
]]></Declaration>
</GVL>
Expand Down
Binary file not shown.

0 comments on commit 280b03c

Please sign in to comment.