Skip to content

Conversation

@molpopgen
Copy link
Member

Macros to access table columns from the C API are getting cluttered.
Further, using macros may be causing unnecessary code bloat.

This PR:

  • Replaces macros with generic functions.
  • Separates common elements of table access to reduce the number of monomorphized functions.

This change improves readability and declutters
some internal details.
@molpopgen molpopgen marked this pull request as ready for review December 4, 2022 17:18
@molpopgen molpopgen merged commit 1a80144 into main Dec 4, 2022
@molpopgen molpopgen deleted the macro_clutter branch December 4, 2022 17:18
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