Skip to content
Prev 876 / 919 Next

libdeflate

Since the 4.4.0 release, R can make use of libdeflate. From the release 
notes:

 > memCompress() and memDecompress() will use the libdeflate library 
(https://github.com/ebiggers/libdeflate) if installed. This uses the 
same type of compression for type = "gzip" but is 1.5-2x faster than the 
system libz library on some common platforms: the speed-up may depend on 
the library version.

 >? If the libdeflate library and headers are available, libdeflate 
rather than libz is used to (de)compress R objects in lazy-load 
databases. Typically tasks spend up to 5% of their time on such 
operations, although creating lazy-data databases is one of the exceptions.
 > This can be suppressed if the library is available by the configure 
option --without-libdeflate-compression.

Would it be worth taking advantage of this in the Fedora build?

Tim