Re: Multithreaded and forking version of former email-fmt.py
Brought to you by:
set
From: Salvador E. T. <sal...@in...> - 2005-09-16 18:34:59
|
On 14/09/05 14:33, Grzegorz Adam Hankiewicz wrote: >On 2005-09-12, Salvador Eduardo Tropea <sal...@in...> wrote: > > >>Good! Please add the command line option to select the columns. >> >> > >Done. Uploaded new version. > > http://gradha.sdf-eu.org/email-fmt.tar.gz > >I think there's still a behaviour bug related to the python >version. The C version always seems to append a trailing \n, which >sometimes adds that extra line after Setedit's selection. > >WRT integrating it under contrib, do you want it to compile or is >it enough if you just added directly the `c' directory as is? Want >me to write some additional documentation, or point from it to >setedit's manual (which still contains the python version embedded). > > I think it should be compiled by the central make system when the configuration detects that's possible. I guess that means: when Linux is detected. > > >>How did you meassure the time? May be the problem is the >>communication with the editor. >> >> > >Wall time clock. Using `time email-fmt < allegro._tx > /dev/null' >takes about half second. Opening the file, selecting everything and >running the filter takes about 23 seconds on my machine, much much >more with the python version (which is about 5 times slower than C). > > Which file did you use? Regards, SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: se...@co... se...@ie... Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |