From: "ioquatix (Samuel Williams) via ruby-core" Date: 2023-02-13T00:19:19+00:00 Subject: [ruby-core:112388] [Ruby master Feature#19306] Expand zlib interface Issue #19306 has been updated by ioquatix (Samuel Williams). I investigated the zlib C interface, and there is no way to extract those fields which is unfortunate, so we'd have to cache them. The type of compression fundamentally is changed based on the value of those fields, so if it's not much overhead, I suggest adding ivars for storing it... that being said, it might be a pain. `inspect` ideally would print that data. It could even be nice if it printed a compression / decompression ratio, but to be honest, that might be stretching it a bit. ---------------------------------------- Feature #19306: Expand zlib interface https://bugs.ruby-lang.org/issues/19306#change-101830 * Author: ioquatix (Samuel Williams) * Status: Open * Priority: Normal ---------------------------------------- Introduce some extra methods like `window_size`, `level` (compression/decompression), enhance `inspect` and various other quality of life improvements. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/