Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Forgive HyperThreading, it doesn't harm performance but improves it.

  • Loading branch information...
commit 0219fd0f63542552e817606e6b7aa00a69d51417 1 parent 9a20a29
whitequark authored
Showing with 1 addition and 7 deletions.
  1. +1 −7 bin/furnace-avm2-decompiler
8 bin/furnace-avm2-decompiler
View
@@ -202,13 +202,7 @@ process = lambda do |what|
end
end
-threads = opts[:threads]
-if threads.nil?
- processors = Parallel.processor_count
- threads = processors / 2
- $stderr.puts "Using #{threads} threads. Pass `--threads #{processors}' option if " <<
- "your CPU does NOT feature hyperthreading or it is disabled."
-end
+threads = opts[:threads] || Parallel.processor_count
if defined?(JRUBY_VERSION)
parallel_options = { in_threads: threads }
Please sign in to comment.
Something went wrong with that request. Please try again.