Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WriterBetterCompression (0.22 sec)

  1. cmd/object-api-utils.go

    var compressOpts []s2.WriterOption
    
    func init() {
    	if runtime.GOARCH == "amd64" {
    		// On amd64 we have assembly and can use stronger compression.
    		compressOpts = append(compressOpts, s2.WriterBetterCompression())
    	}
    }
    
    // newS2CompressReader will read data from r, compress it and return the compressed data as a Reader.
    // Use Close to ensure resources are released on incomplete streams.
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top