Olaf Bernstein

Results 29 issues of Olaf Bernstein

This is just a tiny nitpick, but Annex J says: > The behavior is undefined in the following circumstances: [...] The va_start or va_copy macro is invoked without a corresponding...

The ratio method is in total slower than the polar method, but only produces one output. This can be very nice for libraries as the normal distribution function doesn't require...

It looks like your ziggurat implementation is from https://www.seehuhn.de/pages/ziggurat.html. He says that he uses "an exponential distribution together with rejection for the tails of the base strip to simplify the...

I ran some benchmarks and noticed that the throughput reaches an optimum with 4 threads and starts decreasing afterwards: ![](https://i.postimg.cc/ZnM3y5hm/output.png) ``` 0.1 gb 1gb 5 gb 1 0.4067 0.44447 0.43217...

If you use `` before you include a file from ctl you'll get name collisions for the [`I` macro](https://en.cppreference.com/w/c/numeric/complex/I). I generally recommend using longer names or a prefix like `CTL_I`,...

I was just commenting on https://beehaw.org/post/536016 and it was really annoying that the code was wrapped. Wrapping codeblocks makes things very unreadable, and the standard seems to be a horizontal...

I wrote a scale agnostic `wheelZoomPlugin` plugin, that doesn't seem like it would cause a browser freeze. But after on average one minute of zooming in and out with it,...

Hi, I've been working on RVV native Unicode conversion routines, and have optimized validating utf8->utf32, utf8->utf16 and partial utf16->utf8 working (see last part for benchmarks). I'd like to upstream this...

I noticed that a bunch of the programs (benchmarks) I want to execute on ara start hanging at some point, but since that isn't that reproducible, I've tried to find...

bug

I was comparing my implementation against @ktprime's hash_map8, which uses almost the same copy implementation as my implementation (malloc + memcpy), but for some reason mine was >2 times slower....