add -fastquery and fix SWIG_Python_GetSwigThis, avoid to call GetAttr

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-03-05 06:43:16 +00:00
commit 36c067836e
3 changed files with 92 additions and 26 deletions

View file

@ -2,12 +2,21 @@ Version 1.3.29 (In progress)
============================
03/04/2006: mmatus
- Add -O to the main program, which now enables -fastdispatch
[Python]
Add the -fastinit option to enable faster __init__ methods.
As with the other 'fast' options, this one also gets
enabled when using -O.
- Add the -fastinit option to enable faster __init__
methods. Setting 'this' as 'self.this.append(this)' in the python
code confuses PyLucene. Now the initialization is done in the
the C++ side, as reported by Andi and Robin.
- Add the -fastquery option to enable faster SWIG_TypeQuery via a
python dict cache, as proposed by Andi Vajda
- Avoid to call PyObject_GetAttr inside SWIG_Python_GetSwigThis,
since this confuses PyLucene, as reported by Andi Vajda.
03/02/2006: wsfulton
[Java]
Removed extra (void *) cast when casting pointers to and from jlong as this