> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:
>> The problem I have with this approach is that the TeXFile.py is
>> rather slow. On my system, it takes 11s, whereas configure.py
>> itself needs 5s.
Bo> Was TeXFile.sh any faster?
I do not think so. This is a deficiency of the algorithm... Bu
I think the speed of TeXFile.sh is irrelevant.
Even for TeXFile.py, it is almost irrelevant, since we do not run
configure.py often.
Do you know how to use the python profiling tools?
If you have python2.4, it is as easy as
python -m profile TeXFile.py
Otherwise, see http://docs.python.org
Bo Peng wrote:
>> The problem I have with this approach is that the TeXFile.py is rather
>> slow. On my system, it takes 11s, whereas configure.py itself needs
>> 5s.
On my system it is slightly faster (~8sec), but I see your concern.
Nevertheless the fact that you have to go to TeX Information a
The problem I have with this approach is that the TeXFile.py is rather
slow. On my system, it takes 11s, whereas configure.py itself needs
5s.
Was TeXFile.sh any faster? My experience is that TeXFile.py is much
faster on windows than TeXFile.sh, I have not compared them under
linux.
Bo
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
Georg> It is trivial to refactor that so that we have a more
Georg> meaningful argument, but first I want to know if there are any
Georg> reasons not to create the lst files in configure.py.
The problem I have with this approach is that the
Bo Peng wrote:
> TeXFiles.createTeXFiles(['configure.py'])
>
> So ['configure.py'] is just a place holder for sys.argv[0]?
Exactly.
> It is kind
> of confusing.
It is trivial to refactor that so that we have a more meaningful argument,
but first I want to know if there are any reasons not to
OK to go in?
TeXFiles.createTeXFiles(['configure.py'])
So ['configure.py'] is just a place holder for sys.argv[0]? It is kind
of confusing.
Bo
This has just come up on the users list: Running Reconfigure does update the
documernt class list from the available layouts, but it does not update the
lists of bst files, cls files etc. This is not very userfriendly IMO, so I
propose the attached patch.
The changes to TeXFiles.py are only refacto