We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
vcat
_ _ _ _(_)_ | Documentation: https://docs.julialang.org (_) | (_) (_) | _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 1.7.1 (2021-12-22) _/ |\__'_|_|_|\__'_| | |__/ | julia> using BenchmarkTools julia> begin a = Any[rand(Int) for _ in 1:10] num = 5 @btime vcat($a, $num); end; 43.047 ns (1 allocation: 144 bytes)
_ _ _ _(_)_ | Documentation: https://docs.julialang.org (_) | (_) (_) | _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 1.8.0-rc3 (2022-07-13) _/ |\__'_|_|_|\__'_| | |__/ | julia> using BenchmarkTools julia> begin a = Any[rand(Int) for _ in 1:10] num = 5 @btime vcat($a, $num); end; 1.067 μs (14 allocations: 464 bytes)
The text was updated successfully, but these errors were encountered:
This is fast again on master for reference.
Sorry, something went wrong.
This was fixed in #45028 which will be backported to 1.8.0.
vcat(::Vector, ::Number)
No branches or pull requests
The text was updated successfully, but these errors were encountered: