[OGo-Developer] big resource hog in SoObject

Marcus Müller developer@opengroupware.org
Mon, 23 Jul 2007 11:26:40 +0200


--Apple-Mail-1-717169931
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

Hi all,

On 21.07.2007, at 12:04, Helge Hess wrote:

>> The problem is that the super method also invokes  
>> "toOneRelationShipKeys", to make sure the name is available.
>>
> Summary: I would be interested on ZNeKs opinion on that. We can  
> drop it, but I *think* that your issue is at a different place (the  
> way your object maps to KVC).

I had a similar issue once and I wasn't really convinced that the  
default behaviour is appropriate in all situations. We might want to  
introduce a method which triggers the behaviour, so it can be altered  
in special cases like the one Wolfgang describes?

Cheers,

   Marcus

-- 
Marcus Mueller  .  .  .  crack-admin/coder ;-)
Mulle kybernetiK  .  http://www.mulle-kybernetik.com
Current projects: http://www.mulle-kybernetik.com/znek/



--Apple-Mail-1-717169931
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">
Hi all,<div><br></div><div><div><div>On 21.07.2007, at 12:04, Helge Hess =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><blockquote type=3D"cite"><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The problem =
is that the super method also invokes "toOneRelationShipKeys", to make =
sure the name is available.</div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
"><br></div></blockquote><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; ">Summary: I would be =
interested on ZNeKs opinion on that. We can drop it, but I *think* that =
your issue is at a different place (the way your object maps to =
KVC).</div></blockquote><br></div><div>I had a similar issue once and I =
wasn't really convinced that the default behaviour is appropriate in all =
situations. We might want to introduce a method which triggers the =
behaviour, so it can be altered in special cases like the one Wolfgang =
describes?</div><div><br class=3D"webkit-block-placeholder"></div><div> =
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><p style=3D"margin: =
0.0px 0.0px 0.0px 0.0px"><font face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica">Cheers,</font></p><p style=3D"margin: =
0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: =
14.0px"><br></p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><font =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica"><span =
class=3D"Apple-converted-space">=A0<span =
class=3D"Apple-converted-space">=A0</span></span>Marcus</font></p><p =
style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; =
min-height: 14.0px"><br></p><p style=3D"margin: 0.0px 0.0px 0.0px =
0.0px"><font face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">--<span class=3D"Apple-converted-space">=A0</span></font></p><p=
 style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><font face=3D"Helvetica" =
size=3D"3" style=3D"font: 12.0px Helvetica">Marcus Mueller<span =
class=3D"Apple-converted-space">=A0<span =
class=3D"Apple-converted-space">=A0</span></span>.<span =
class=3D"Apple-converted-space">=A0<span =
class=3D"Apple-converted-space">=A0</span></span>.<span =
class=3D"Apple-converted-space">=A0<span =
class=3D"Apple-converted-space">=A0</span></span>.<span =
class=3D"Apple-converted-space">=A0<span =
class=3D"Apple-converted-space">=A0</span></span>crack-admin/coder =
;-)</font></p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><font =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica">Mulle =
kybernetiK<span class=3D"Apple-converted-space">=A0<span =
class=3D"Apple-converted-space">=A0</span></span>.<span =
class=3D"Apple-converted-space">=A0<span =
class=3D"Apple-converted-space">=A0</span></span><a =
href=3D"http://www.mulle-kybernetik.com">http://www.mulle-kybernetik.com</=
a></font></p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><font =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica">Current =
projects:=A0<a =
href=3D"http://www.mulle-kybernetik.com/znek/">http://www.mulle-kybernetik=
.com/znek/</a></font></p><br =
class=3D"Apple-interchange-newline"></span></span> =
</div><br></div></body></html>=

--Apple-Mail-1-717169931--