[Xapian-tickets] [Xapian] #714: Use C++ API optional reference counting in bindings
Xapian
nobody at xapian.org
Wed Mar 23 05:14:21 GMT 2016
#714: Use C++ API optional reference counting in bindings
------------------------------------+------------------------
Reporter: olly | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone: 1.4.x
Component: Xapian-bindings | Version: git master
Severity: normal | Keywords:
Blocked By: | Blocking:
Operating System: All |
------------------------------------+------------------------
[follow-on for #186]
The C++ API now has optional reference counting of the various functor
classes which API objects keep references to.
We should make use of this in the bindings - several of the bindings
(Python, PHP, Perl) already have separate tracking code so there will be
no observable behaviour change for those (except for a small speed-up),
while for the other languages this would fix cases which currently
fail.means that cases which failed before now work, so it's reasonable as
a change to make mid-1.4.x (and indeed the tracking code for Python and
PHP wasn't added at the start of release series).
There's an attempt at a patch in #186, but it looks like this may need
changes to SWIG.
This is a bug for the languages which don't currently have tracking, so
setting type=defect.
--
Ticket URL: <https://trac.xapian.org/ticket/714>
Xapian <//xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list