[KinoSearch] inside-out objects
Peter Karman
peter at peknet.com
Tue Nov 20 19:06:13 PST 2007
Marvin Humphrey wrote on 11/20/07 7:48 PM:
> The solution is to cache a Perl object within a KS object, so that
> effectively Perl *does* know about it. That's the difference between
> Nat and Obj. Under Nat, the refcounting is handled via the cached Perl
> object. There are no longer two refcounts.
Now I feel like my decision to take this very same approach in the libswish3
perl bindings was not so crazy after all! :)
Nice explanation, Marvin. Thanks.
--
Peter Karman . http://peknet.com/ . peter at peknet.com
_______________________________________________
KinoSearch mailing list
KinoSearch at rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch
More information about the kinosearch
mailing list