Skip to content

Conversation

@asarhaddon
Copy link
Contributor

Compute hashes at most once.
Recognize forms with a hash instead of a sequence of string comparisons.

This improves speed (~15% on the perf test).
MalType must drop the const modifier.
Then, atoms can be slightly simplified.
Various typos or space formatting.
Remove the gprof output file when cleaning.
Prefer unsigned types when negative values do not make sense.
Prefer bool to int.
Do not assert that a pointer is not NULL right before dereferencing it.
Fix vector_append when the initial capacity is 0 (this does not happen yet).
Check the count after filling a vector.
instead of repeated string comparisons
@kanaka kanaka merged commit 9e11760 into kanaka:master Aug 26, 2025
4 checks passed
@asarhaddon asarhaddon deleted the c.2 branch August 30, 2025 18:30
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