-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
…o-runner-and-initialization
…o-runner-and-initialization
COLLECTIONS_LIB_DIR= Collections-C | ||
$(COLLECTIONS_LIB_DIR): | ||
git clone https://github.com/srdja/Collections-C.git | ||
cd Collections-C && \ |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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.
There was a problem hiding this 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
.
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:
print_memory
for debugging/educational purposes