You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently input_size is the size of the raw input, which can be either compressed or uncompressed. When scaling memory based on input size you probably only care about the uncompressed size. But gzip does store the uncompressed size, which we could read into a separate uncompressed_jnput_size variable. The uncompressed size is stored in the last 4 bytes, this seems to work for me:
Currently
input_size
is the size of the raw input, which can be either compressed or uncompressed. When scaling memory based on input size you probably only care about the uncompressed size. But gzip does store the uncompressed size, which we could read into a separateuncompressed_jnput_size
variable. The uncompressed size is stored in the last 4 bytes, this seems to work for me:The uncompressed size also isn't always set properly:
So we should have a default... actual size, or actual size * some constant factor.
The text was updated successfully, but these errors were encountered: