I already tried it and it's really a terrific improvement! Many thanks
for all your hard work!! :-)
Two more things I would like to mention:
1. Do you plan to support some rope refactoring features in 2.1? I tend
to do a lot of refactoring so it would be really good to have them.
2. It seems trunk is broken for me (although I don't think it's related
to this new feature). When I try to open the Preferences dialog I get
this traceback on the internal console:
>>> Traceback (most recent call last):
File
"/home/carlos/.virtualenvs/spyder_trunk/lib/python2.6/site-packages/spyderlib/spyder.py",
line 1254, in edit_preferences
widget = plugin.create_configwidget(dlg)
File
"/home/carlos/.virtualenvs/spyder_trunk/lib/python2.6/site-packages/spyderlib/plugins/__init__.py",
line 136, in create_configwidget
configwidget.initialize()
File
"/home/carlos/.virtualenvs/spyder_trunk/lib/python2.6/site-packages/spyderlib/plugins/configdialog.py",
line 42, in initialize
self.load_from_conf()
File
"/home/carlos/.virtualenvs/spyder_trunk/lib/python2.6/site-packages/spyderlib/plugins/configdialog.py",
line 220, in load_from_conf
checkbox.setChecked(self.get_option(option, default))
File
"/home/carlos/.virtualenvs/spyder_trunk/lib/python2.6/site-packages/spyderlib/plugins/__init__.py",
line 191, in get_option
return CONF.get(self.CONF_SECTION, option, default)
File
"/home/carlos/.virtualenvs/spyder_trunk/lib/python2.6/site-packages/spyderlib/userconfig.py",
line 238, in get
raise RuntimeError("Unknown option %r" % option)
RuntimeError: Unknown option 'ignore_sip_setapi_errors'
Cheers,
Carlos
El 07/03/11 16:36, Pierre Raybaut escribió:
Hi all,
As some of you may have noticed, Spyder's editor is still suffering of
performance issues when using code completion and calltips. Those
features -which are powered by 'rope'- were sometimes really slow: for
example, the first appearance of code completion list on NumPy could
take 10 seconds on an average machine. This is not acceptable and
would legitimately lead some users to disable these features to avoid
being slown down when typing code.
As I was getting tired of these performance issues, I decided last
week to write a simple test (see the 'rope_profiling' folder in Spyder
sources) and see with the 'rope' team if things could be improved.
After some iterations with the 'rope' project owner, we found a
solution and a patch has now been integrated in Spyder's development
version:
http://code.google.com/p/spyderlib/source/detail?r=d71858d8206c7423be9e49c4c2e032a546bb9856
The results is that code completion performances have been greatly
improved (on a NumPy example: before the patch, 11 seconds, after the
patch: 200ms...!).
Enjoy! (and please report any related bug)
-Pierre
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/spyderlib?hl=en.