Re: [Pyobjc-dev] Re: [ pyobjc-Bugs-679748 ] NSMutableString gets converted to Python string
Brought to you by:
ronaldoussoren
From: Bill B. <bb...@co...> - 2003-02-03 22:42:15
|
On Monday, Feb 3, 2003, at 17:36 US/Eastern, Just van Rossum wrote: > This seems the worst of both worlds, performance wise: allocate new > storage *and* keep the old object? Hm... If implemented correctly, the allocation only happens once the first time the object crosses the bridge from ObjC->Python. From then on, the bridge should be able to use the already existing instance of NSString when going from Python->ObjC. The challenge will be when going from ObjC->Python after the first invocation. I'm hoping the weak reference code that is already present in the bridge will provide some kind of a solution. The truth will be revealed in the code, I suppose. b.bum |