Explorar o código

Enable vector optimizations in vips

DarthSim %!s(int64=2) %!d(string=hai) anos
pai
achega
aad0186b0a
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      vips/vips.go

+ 1 - 3
vips/vips.go

@@ -62,9 +62,7 @@ func Init() error {
 
 	C.vips_concurrency_set(1)
 
-	// Vector calculations cause SIGSEGV sometimes when working with JPEG.
-	// It's better to disable it since profit it quite small
-	C.vips_vector_set_enabled(0)
+	C.vips_vector_set_enabled(1)
 
 	if len(os.Getenv("IMGPROXY_VIPS_LEAK_CHECK")) > 0 {
 		C.vips_leak_set(C.gboolean(1))