Storyyeller / Krakatau

Java decompiler, assembler, and disassembler
GNU General Public License v3.0
1.95k stars 219 forks source link

Multiprocess decompiling #123

Open lab313ru opened 6 years ago

lab313ru commented 6 years ago

For now Krakatau uses one thread (one core). But it is possible to make decompilation faster if you'll use threads. Can you add such functionality?

Storyyeller commented 6 years ago

Adding threads alone wouldn't help because of Python's GIL. But it would be possible to add an option to making running multiple instances of Krakatau in parallel more convenient.

lab313ru commented 6 years ago

It will be great. Sharing some results database within the processes (shared memory, pipe, etc.) will be a great thing, so the every process will know about results of each other.