Andy Nowacki
Andy Nowacki
I have hit this multiple times now. My own reproducer is ```julia import DSP DSP.resample(zeros(1000), 0.012) ``` It does appear that somewhere with the `FIRArbitrary` constructor or its `filt!` method...
I needed: ```diff diff --git a/src/ranges.jl b/src/ranges.jl index b87b0934..159c835c 100644 --- a/src/ranges.jl +++ b/src/ranges.jl @@ -67,5 +67,5 @@ end Base.:(:)(a::NanoDate, b::NanoDate) = (:)(a, Day(1), b) -guess(a::NanoDate, b::NanoDate, c) = floor(Int64,...
Sorry, I should have said that. I used this in VS Code: ```julia julia> f(; n=1000) = begin x = ndnow(UTC) date = Date(0) for i in 1:n range =...
Simple range construction timings: ```julia julia> @btime x:Millisecond(5):(x + Hour(1)) setup=(x=DateTime(2000)); 14.018 ns (0 allocations: 0 bytes) julia> @btime x:Millisecond(5):(x + Hour(1)) setup=(x=NanoDate(2000)); 15.870 μs (166 allocations: 4.50 KiB) ```
Amazing work, @JeffreySarnoff! This is great. Per your request, here are the timings for `f` with `ndnow` above: ``` julia> @benchmark f() BenchmarkTools.Trial: 10000 samples with 1 evaluation. Range (min...
@ljhwang it looks like @JarettBakerDunn has done this in #13 but please do ping me again if any help is needed. I am also happy to point the Julia build...
Okay, sorry for the noise. I'll hold off on comments and suggestions for now, since it seems you have plans for how things will develop.
(Happy to post any of these as issues or open a new one if you like.) I haven't used NanoDates extensively, but have long wanted a nanosecond-resolved time package for...
The following isn't quite correct: > (This code is really a hack and simply works around the deeper problem of calculating the correct output buffer length; this should instead be...
@ViralBShah I'm not averse to the idea, but I'm really only making PRs for things that I have already sorted out locally to get work done. I would also not...