Skip to content

Commit

Permalink
refactor: remove arg serializer's map functionality
Browse files Browse the repository at this point in the history
Serializing maps to args is not needed. The removal allows for
eliminating a box allocation for each flag and making the arg serializer
simpler and more similar to the quadlet serializer.

Also removed the `skip_serializing_if`s from `PodmanArgs` structs (since
serializing empty `Vec`s or `Option`s no longer incurs an allocation)
to reduce code generation and if checks.
  • Loading branch information
k9withabone committed Jan 3, 2024
1 parent e48e4a9 commit 72289e8
Show file tree
Hide file tree
Showing 7 changed files with 261 additions and 413 deletions.
Loading

0 comments on commit 72289e8

Please sign in to comment.