Skip to content

Hash Set Utilities#214

Merged
felix-schultz merged 53 commits intoTM9657:devfrom
GitBrincie212:set-utilities
Aug 21, 2025
Merged

Hash Set Utilities#214
felix-schultz merged 53 commits intoTM9657:devfrom
GitBrincie212:set-utilities

Conversation

@GitBrincie212
Copy link
Copy Markdown
Contributor

Added some basic hash set utility nodes for now (tho i haven't tested those since the tauri app takes a while to start). I plan to add more nodes such as, however il explain the basic ones added:

  • Clear Accepts a hash set and clears that entire hash set, returning in the process the newly emptied hash set
  • Make Creates an empty hash set, returning it in the process
  • Insert Accepts a hash set and a value, then it inserts that element into the supplied hash set, returning in the process the newly modified hash set and a boolean value dictating if the element was present in the hash set before this insertion
  • Discard Accepts a hash set and a potential value in the hash set, then it tries to remove / discard that element from the supplied hash set, returning in the process the newly modified hash set and a boolean value dictating if the element was actually removed or not from the hash set
  • Has Accepts a hash set and a potential value present in the hash set, then it tries to check if the value is actually in the hash set, returning in the process true if the value is present otherwise false (a boolean value)

I plan to add more utilities as the hash set is underutilized. Some of the examples are:

  • Extend Accepts a hash set and a list of values to add, adds all of the values returning in the process the modified hash set
  • Contains Accepts 2 hash sets (suppose A and B) and checks if one of the hash sets is contained within the other, if so it returns true otherwise returns false (a boolean value), this operation is commutative (A ∩ B = B ∩ A) exactly like set theory
  • Difference Accepts 2 hash sets and returns in the process a hash set that contains the elements that are not mutually present in both hash sets, this operation commutative (A ∖ B = B ∖ A)
  • Is Subset Accepts 2 hash sets (suppose A and B) and returns if A is a subset of B (which means if all elements from A are contained within B), This operation is not commutative (A ⊂ B ≠ B ⊂ A)
  • Is Superset The opposite of subset, accepts 2 hash sets (Suppose A and B again) and returns if A is a superset of B (which means if all elements from B are contained within A), This operation is not commutative (A ⊃ B ≠ B ⊃ A)

felix-schultz and others added 30 commits May 22, 2025 12:37
fix: comment out setup-environment step in alpha-release workflow
Added Mac Intel Build + Sentry debugging
Add contribution encouragement and analytics image to README.md
feat: update Entitlements.plist and tauri.conf.json for enhanced secu…
feat: enhance Entitlements.plist with additional security permissions
feat: remove unnecessary entitlements and disable hardened runtime in…
feat: update sidebar navigation and add documentation link; refactor …
feat: update permissions in desktop and macOS schemas to include bund…
feat: add updater permissions and functionality
feat: implement streaming upload functionality with progress tracking
feat: enhance upload progress tracking and display with new UploadPro…
Update to Build process and Entitlements
Implement code changes to enhance functionality and improve performance
feat: skip PDF parsing in CI and enhance HTTP request handling
Adjusted Readme, added comment locking + encrypted offline sharing
… returning a boolean indicating if the element was actually present
…d if it does it returns true otherwise false (boolean)
@felix-schultz felix-schultz changed the base branch from main to dev August 21, 2025 15:12
Copy link
Copy Markdown
Member

@felix-schultz felix-schultz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, thanks a lot!

@felix-schultz felix-schultz merged commit d45c835 into TM9657:dev Aug 21, 2025
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants