I see that may be the case. My program uses a lot of File IO and it is divided into multiple processess , working good in python.Failing so far in pypy (due to requirement of so many different document parsers) . I tested with Jython and i frustrated (At-least , in jython i can use Tika to parse documents) . On Wed, Oct 31, 2012 at 9:22 PM, Armin Rigo <arigo@tunes.org> wrote:
Hi,
On Wed, Oct 31, 2012 at 3:14 PM, Phyo Arkar <phyo.arkarlwin@gmail.com> wrote:
Jython is wayyy much slower than CPython in many cases. I can't even find its use.
If your problem is hard to divide in multiple processes but easy to divide in multiple threads, and if you have a machine with enough CPUs, then Jython wins. Although dividing in multiple raw threads is rarely easy.
A bientôt,
Armin.