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

Replace malloc with calloc everywhere #2463

Open
1 of 5 tasks
Rot127 opened this issue Aug 30, 2024 · 0 comments
Open
1 of 5 tasks

Replace malloc with calloc everywhere #2463

Rot127 opened this issue Aug 30, 2024 · 0 comments

Comments

@Rot127
Copy link
Collaborator

Rot127 commented Aug 30, 2024

Feature

  • New architecture module
  • Support for processor extension
  • Add more instruction details (elaborated below)
  • Binding support for: language
  • Other (elaborated below)

Describe the feature you'd like

Especially auto-sync modules require to have their structs initialized to 0. The performance reduction can be neglected IMHO.

And we dodge potential and hard to find bugs (as happened in the past).

Currently there is a lot of memset everywhere, which we could save as well.

Additional context
None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant