David Himmelstrup

Results 246 comments of David Himmelstrup

The performance difference between union and no-union is minor and is dwarfed by the performance boost from avoiding heap allocations. I'll update the PR to include a feature switch for...

If `BigInt` was defined as an enum: ```rust enum BigInt { Zero, Small(isize), Positive(BigUint), Negative(BigUint), } ``` Then it would have the same size as before (4 words) but catch...

I have some "real-world" benchmark data, btw. I implemented an algorithm for generating random polygons. The code is polymorphing and each run is using the same test input. All of...

Extra details: The algorithm primarily does line intersection checks which involve two multiplications and four subtractions. The code for `isize` checks for overflows and handles them correctly. The benchmark code...

> > I don't know why `BigRational` is nearly three orders of magnitude slower than `isize`. My gut is telling me it should be possible to bring both `BigInt` and...

I've converted the benchmarks to criterion: https://github.com/Lemmih/num-criterion. Any interest in moving this under the `rust-num` umbrella?

Without the shootout, would you be interested in moving it to `rust-num`?

Should be fixed in `1.1.6.0`.

I'm running Windows 2004 in VirtualBox and can replicate the failures: 1. FFmpeg fails badly if no raster is used and it wasn't compiled with librsvg. 2. Trying to render...