David Keller

Results 57 comments of David Keller

Just found out that the pause/resume time reset bug only occurs when I enabled automatic detection of media players. Meaning the following must have happened: - When pausing, KDE looks...

MPRIS Docs -> https://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html Here you can see it actually wants microseconds.

> Chapters should best be their own possible hierarchy in the data model and simply not be necessary, e.g. you may not want to track the different pencilers per chapter...

> There's an age rating already, as int of minimum recommended age. That should abstract the various ratings from each country. I think the exact rating should be specified as...

> Crystal object can't have multiple initialize methods and the initialize method must follow some rules. Yes, but you can have multiple `self.new` methods - which in turn must call...

I cannot really reproduce the performance gains. Actually, while I tried this patch, the results got worse for me. My benchmark code ```crystal require "benchmark" require "compress/zlib" class Compress::Deflate::WriterLibCMalloc <...

> OS? I'm using Mac Fedora Linux 35.20211211.0 (Silverblue)

But I just noticed the LibC malloc/free is faster for bigger inputs (I just tried the benchmark using `string = "The quick brown fox jumps over the lazy dog" *...

Raw callgrind output: [callgrind.zip](https://github.com/crystal-lang/crystal/files/7737878/callgrind.zip) ![Bildschirmfoto vom 2021-12-17 22-36-54](https://user-images.githubusercontent.com/14961554/146610824-cc3d9445-595f-419a-9f2c-9d2a58319d40.png)

Oops, that were the results from `string = "The quick brown fox jumps over the lazy dog" * 1000` These are the results for the short string: [callgrind2.zip](https://github.com/crystal-lang/crystal/files/7737944/callgrind2.zip) ![Bildschirmfoto vom...