Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run string macros at compile, not runtime #1

Merged
merged 1 commit into from
Feb 13, 2023
Merged

Conversation

uniment
Copy link
Owner

@uniment uniment commented Feb 13, 2023

before:

julia> @btime df64"0.2";
  481.959 ns (4 allocations: 208 bytes)

after:

julia> @btime df64"0.2";
  1.100 ns (0 allocations: 0 bytes)

before:
julia> @Btime df64"0.2";
  481.959 ns (4 allocations: 208 bytes)

after:
julia> @Btime df64"0.2";
  1.100 ns (0 allocations: 0 bytes)
@uniment uniment merged commit 890d3ef into master Feb 13, 2023
@uniment uniment deleted the uniment-string-macro branch February 13, 2023 07:22
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.

1 participant