python - Jython, Jepp or Pylons for the performance -


i'm trying incorporate server-based code diff , highlighting in gwt (java) project. managed incorporate pygments , difflib into code using jython. basic idea generate complete markup on server , inject code page innerhtml. found jython inadequate relatively small files (2k-3k lines) takes pygments or difflib forever (minutes not seconds) process these files. difflib reliably causes oom errors in process dedicated 500m of memory i'm wondering if my current setup wrong or jython unsuitable purpose?

if so, what's next? discover jepp have build project each platform , has little documentation , don't seem stable. possibility run pylons separate webservice on same host , markup directly client or channel through server. , yet way use java system execute python script process , capture output.

i interested hear solid suggestion on matter.

having separate service sounds best way go. pygments, there service available (on google app engine). source app bsd open source , on github here. adapt add difflib functionality too, of course.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -