Skip to content

A few cleanups#345

Merged
texus merged 4 commits intotexus:1.xfrom
jjuhl:a-few-cleanups
Apr 3, 2026
Merged

A few cleanups#345
texus merged 4 commits intotexus:1.xfrom
jjuhl:a-few-cleanups

Conversation

@jjuhl
Copy link
Copy Markdown
Contributor

@jjuhl jjuhl commented Apr 3, 2026

No description provided.

jjuhl added 4 commits April 3, 2026 17:45
…is known

There's no need for the vector to reallocate multiple times when we
can just preallocate the needed capacity.
to avoid surprises during macro expansion
@texus
Copy link
Copy Markdown
Owner

texus commented Apr 3, 2026

Putting the macro parameter in brackets feels unnecessary to me because you can't really use an expression there (as the parameter is used as the name of a variable), but I'm still accepting it because it is good practice in macros in general.

@texus texus merged commit c387741 into texus:1.x Apr 3, 2026
15 checks passed
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