[ruby-core:111614] [Ruby master Feature#19306] Expand zlib interface

Issue #19306 has been reported by ioquatix (Samuel Williams). ---------------------------------------- Feature #19306: Expand zlib interface https://bugs.ruby-lang.org/issues/19306 * 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/

Issue #19306 has been updated by rubyFeedback (robert heiler). Just trying to add some detail to the proposal - perhaps it helps push for change. The methods to be added should be: .window_size .level And: .inspect # should yield more output? Or what type of enhancement should be considered? ---------------------------------------- Feature #19306: Expand zlib interface https://bugs.ruby-lang.org/issues/19306#change-101829 * 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/

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/
participants (2)
-
ioquatix (Samuel Williams)
-
rubyFeedback (robert heiler)