Skip to content

Conversation

@andcaspe
Copy link

Describe your changes

This changes replace manual field-by-field initialization of EXI structs with memset, I hope it could help!

The implemented changes are:

  • Optional usage of memset when EXI documents and fragments are initialized
  • Optional usage of memset when any EXI element is initialized
  • Both parameters are set to True by default in config.py module

I tested the code against cbv2g copy-pasting the code and the tests passed:

image

Issue ticket number and link

This pull requests closes #117

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

andreu.castillo added 3 commits September 10, 2025 11:56
Signed-off-by: andreu.castillo <cp.andreu97@gmail.com>
(cherry picked from commit e6bdb4a)
Signed-off-by: andreu.castillo <cp.andreu97@gmail.com>
(cherry picked from commit 830fa0f)
Signed-off-by: andreu.castillo <cp.andreu97@gmail.com>
(cherry picked from commit 021cd0a)
Signed-off-by: andreu.castillo <cp.andreu97@gmail.com>
@andcaspe andcaspe changed the title Usese memset for initializing EXI documents and fragments Use memset for initializing EXI documents and fragments Sep 10, 2025
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.

Use memset for initializing EXI documents and fragments

2 participants