CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cef0013285
commit
599bcbd595
1 changed files with 33 additions and 8 deletions
|
|
@ -27,13 +27,13 @@ Version 1.3.28 (unreleased).
|
||||||
|
|
||||||
You use this new mechanism as
|
You use this new mechanism as
|
||||||
|
|
||||||
swig -fastdispatch
|
swig -fastdispatch
|
||||||
|
|
||||||
or using the feature form
|
or using the feature form
|
||||||
|
|
||||||
%feature("fastdispatch") method;
|
%feature("fastdispatch") method;
|
||||||
or
|
or
|
||||||
%fastdispatch method;
|
%fastdispatch method;
|
||||||
|
|
||||||
|
|
||||||
12/06/2005: mmatus
|
12/06/2005: mmatus
|
||||||
|
|
@ -70,13 +70,14 @@ Version 1.3.28 (unreleased).
|
||||||
Py_None is never accessed as a structure, plus other
|
Py_None is never accessed as a structure, plus other
|
||||||
tricks mentioned there.
|
tricks mentioned there.
|
||||||
|
|
||||||
|
12/06/2005: mmatus
|
||||||
[Python] Added initial support for threads based in the
|
[Python] Added initial support for threads based in the
|
||||||
proposal by Joseph Winston.
|
proposal by Joseph Winston.
|
||||||
|
|
||||||
The user interface is as follows:
|
The user interface is as follows:
|
||||||
|
|
||||||
1.- the module thread support is enable via the "threads" module
|
1.- the module thread support is enable via the "threads" module
|
||||||
option, ie
|
option, i.e.
|
||||||
|
|
||||||
%module("threads"=1)
|
%module("threads"=1)
|
||||||
|
|
||||||
|
|
@ -113,6 +114,24 @@ Version 1.3.28 (unreleased).
|
||||||
If you get a working implementation for older versions,
|
If you get a working implementation for older versions,
|
||||||
please send us a patch.
|
please send us a patch.
|
||||||
|
|
||||||
|
For the curious about performance, here are some numbers
|
||||||
|
for the profiletest.i test, which is used to check the speed
|
||||||
|
of the wrapped code:
|
||||||
|
|
||||||
|
nothread 9.6s (no thread code)
|
||||||
|
nothreadblock 12.2s (only 'allow' code)
|
||||||
|
nothreadallow 13.6s (only 'block' code)
|
||||||
|
full thread 15.5s ('allow' + 'block' code)
|
||||||
|
|
||||||
|
i.e., full thread code decreases the wrapping performance
|
||||||
|
around 60%. If that is important to your application, you
|
||||||
|
can tune each method usin the different 'nothread',
|
||||||
|
'nothreadblock' or 'nothreadallow' features as
|
||||||
|
needed. Note that for some methods deactivating the
|
||||||
|
'thread block' or 'thread allow' code is not an option,
|
||||||
|
so, be careful.
|
||||||
|
|
||||||
|
|
||||||
11/26/2005: wsfulton
|
11/26/2005: wsfulton
|
||||||
SWIG library files use system angle brackets everywhere for %include, eg
|
SWIG library files use system angle brackets everywhere for %include, eg
|
||||||
%include "std_common.i"
|
%include "std_common.i"
|
||||||
|
|
@ -726,6 +745,11 @@ Version 1.3.28 (unreleased).
|
||||||
line files that include the proper typemap library
|
line files that include the proper typemap library
|
||||||
version.
|
version.
|
||||||
|
|
||||||
|
*** POTENTIAL INCOMPATIBILITY in Perl ***
|
||||||
|
|
||||||
|
Some missing/wrong typemaps could start working properly,
|
||||||
|
and change the old expected behavior in Perl.
|
||||||
|
|
||||||
10/23/2005: wuzzeb
|
10/23/2005: wuzzeb
|
||||||
Chicken:
|
Chicken:
|
||||||
+ pointers to member functions finally work properly
|
+ pointers to member functions finally work properly
|
||||||
|
|
@ -823,9 +847,10 @@ Version 1.3.28 (unreleased).
|
||||||
integrate a new language could change as we move to
|
integrate a new language could change as we move to
|
||||||
integrate the STD/STL.
|
integrate the STD/STL.
|
||||||
|
|
||||||
*** POTENTIAL INCOMPATIBILITY ***
|
*** POTENTIAL INCOMPATIBILITY in Ruby/Tcl ***
|
||||||
|
|
||||||
Some missing typemaps could start working, and change
|
Some missing/wrong typemaps could start working properly,
|
||||||
the old expected behavior, specially in ruby and tcl.
|
and change the old expected behavior, specially in ruby
|
||||||
|
and tcl.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue