Closed MasonProtter closed 9 months ago
Attention: 13 lines
in your changes are missing coverage. Please review.
Comparison is base (
8126213
) 63.15% compared to head (4186def
) 85.86%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This is safer, and also in some situations faster. Before you'd write
and now you write
@alloc
no longer takes an optionalbuffer
argument, it is always associated with the@no_escape
block that encloses it, and it cannot be used outside of a@no_escape
block.This makes
@alloc
a bit more likealloca
in some senses. I think it was a mis-feature to allowalloc
to be used lexically outside of a@no_escape
block.I also spruced up the README a little and added docstrings to the API functions. Preview of the new README here: https://github.com/MasonProtter/Bumper.jl/blob/alloc-macro/README.org