Selaa lähdekoodia

Enable vector optimizations in vips

DarthSim 2 vuotta sitten
vanhempi
commit
aad0186b0a
1 muutettua tiedostoa jossa 1 lisäystä ja 3 poistoa
  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))