Method: Vips.vector_set

Defined in:
lib/vips.rb

.vector_set(enabled) ⇒ Object

Enable or disable SIMD and the run-time compiler. This can give a nice speed-up, but can also be unstable on some systems or with some versions of the run-time compiler.

[View source]

787
788
789
790
# File 'lib/vips.rb', line 787

def self.vector_set enabled
  vips_vector_set_enabled(enabled ? 1 : 0)
  vector?
end