Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch memory inner structure to hashtable #26

Merged
merged 146 commits into from
Jul 28, 2023
Merged

Switch memory inner structure to hashtable #26

merged 146 commits into from
Jul 28, 2023

Conversation

fmoletta
Copy link
Contributor

@fmoletta fmoletta commented Jul 25, 2023

This PR aims to simplify memory operations and remove unhandled border cases by using a simpler memory structure, based on a hashmap rather than arrays within an array
This PR also:

@fmoletta fmoletta marked this pull request as ready for review July 26, 2023 21:02
Comment on lines +33 to +36
COLLECTIONS_LIB_DIR= Collections-C
$(COLLECTIONS_LIB_DIR):
git clone https://github.com/srdja/Collections-C.git
cd Collections-C && \
Copy link
Collaborator

@jrchatruc jrchatruc Jul 27, 2023

Choose a reason for hiding this comment

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

This library has a bunch of dependencies that we should document and add to the README like cmake, pkg-config and cpputest that are not present by default in macOS (In general, setting up the environment to install and link to it correctly is not simple so it should be well documented)

Copy link

Choose a reason for hiding this comment

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

Another alternative: just add the targets for the object files manually, everything in there seems pretty self-contained. That would save us from having extra dev deps.

Copy link
Contributor

@gabrielbosio gabrielbosio left a comment

Choose a reason for hiding this comment

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

Looks good! Maybe we can add the Collections-C dir to .gitignore.

@gabrielbosio gabrielbosio mentioned this pull request Jul 28, 2023
@mmsc2 mmsc2 merged commit c46abcb into main Jul 28, 2023
@mmsc2 mmsc2 deleted the switch-lib branch July 28, 2023 20:59
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.

5 participants