Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [CDO][0.8.0] CDORevision List - should have a better implementation for UNINITIALIZED data.
[CDO][0.8.0] CDORevision List - should have a better implementation for UNINITIALIZED data. [message #106226] Sat, 05 January 2008 14:46 Go to next message
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
Hi EIke,

Do you think it will be good to have a List that have a better management of
UNINITIALIZED value ?

At the moment, if the real size of a collection is 1000, we create an array
of 1000, we initialized a few of them... after we put the other element at
UNINITIALIZED.


Should the list have better management ? We could beneficiate with a better
management internally.

- Improve serialization
- Improve memory

Thank you

Simon
Re: [CDO][0.8.0] CDORevision List - should have a better implementation for UNINITIALIZED data. [message #106240 is a reply to message #106226] Sat, 05 January 2008 15:15 Go to previous messageGo to next message
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
Also it will optimized CDOReferenceProxyImpl... we should not initialize all
the index with that.

Maybe we should have something to start with as easy as the following :

If I want to load a list with size 1000 with no data initialized inside...
we should not allocate the array or any CDOReferenceProxyImpl
As soon as the application initialize something we can go like before.
This will be a good start it will:
- Abstract any details about how to manager the list internally.

It will be easier to optimize after that.


Simon


"Simon McDuff" <smcduff@hotmail.com> wrote in message
news:flo58r$2vn$1@build.eclipse.org...
> Hi EIke,
>
> Do you think it will be good to have a List that have a better management
> of UNINITIALIZED value ?
>
> At the moment, if the real size of a collection is 1000, we create an
> array of 1000, we initialized a few of them... after we put the other
> element at UNINITIALIZED.
>
>
> Should the list have better management ? We could beneficiate with a
> better management internally.
>
> - Improve serialization
> - Improve memory
>
> Thank you
>
> Simon
>
>
>
>
>
Re: [CDO][0.8.0] CDORevision List - should have a better implementation for UNINITIALIZED data. [message #106253 is a reply to message #106240] Sat, 05 January 2008 15:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

This is a multi-part message in MIME format.
--------------060804040105070207000604
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Simon,

I fully agree. Please open an enhancement request. I'd appreciate if
you'd come up with an initial patch ;-)

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j



Simon McDuff schrieb:
> Also it will optimized CDOReferenceProxyImpl... we should not initialize all
> the index with that.
>
> Maybe we should have something to start with as easy as the following :
>
> If I want to load a list with size 1000 with no data initialized inside...
> we should not allocate the array or any CDOReferenceProxyImpl
> As soon as the application initialize something we can go like before.
> This will be a good start it will:
> - Abstract any details about how to manager the list internally.
>
> It will be easier to optimize after that.
>
>
> Simon
>
>
> "Simon McDuff" <smcduff@hotmail.com> wrote in message
> news:flo58r$2vn$1@build.eclipse.org...
>
>> Hi EIke,
>>
>> Do you think it will be good to have a List that have a better management
>> of UNINITIALIZED value ?
>>
>> At the moment, if the real size of a collection is 1000, we create an
>> array of 1000, we initialized a few of them... after we put the other
>> element at UNINITIALIZED.
>>
>>
>> Should the list have better management ? We could beneficiate with a
>> better management internally.
>>
>> - Improve serialization
>> - Improve memory
>>
>> Thank you
>>
>> Simon
>>
>>
>>
>>
>>
>>
>
>
>

--------------060804040105070207000604
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Simon,<br>
<br>
I fully agree. Please open an enhancement request. I'd appreciate if
you'd come up with an initial patch ;-)<br>
<br>
Regards,<br>
Eike Stepper<br>
----<br>
<a class="moz-txt-link-freetext" href="http://wiki.eclipse.org/CDO">http://wiki.eclipse.org/CDO</a><br>
<a class="moz-txt-link-freetext" href="http://wiki.eclipse.org/Net4j">http://wiki.eclipse.org/Net4j</a><br>
<br>
<br>
<br>
Simon McDuff schrieb:
<blockquote cite="mid:flo6uc$8nc$1@build.eclipse.org" type="cite">
<pre wrap="">Also it will optimized CDOReferenceProxyImpl... we should not initialize all
the index with that.

Maybe we should have something to start with as easy as the following :

If I want to load a list with size 1000 with no data initialized inside...
we should not allocate the array or any CDOReferenceProxyImpl
As soon as the application initialize something we can go like before.
This will be a good start it will:
- Abstract any details about how to manager the list internally.

It will be easier to optimize after that.


Simon


"Simon McDuff" <a class="moz-txt-link-rfc2396E" href="mailto:smcduff@hotmail.com">&lt;smcduff@hotmail.com&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:flo58r$2vn$1@build.eclipse.org">news:flo58r$2vn$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Hi EIke,

Do you think it will be good to have a List that have a better management
of UNINITIALIZED value ?

At the moment, if the real size of a collection is 1000, we create an
array of 1000, we initialized a few of them... after we put the other
element at UNINITIALIZED.


Should the list have better management ? We could beneficiate with a
better management internally.

- Improve serialization
- Improve memory

Thank you

Simon





</pre>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
</body>
</html>

--------------060804040105070207000604--
Re: [CDO][0.8.0] CDORevision List - should have a better implementation for UNINITIALIZED data. [message #107567 is a reply to message #106253] Thu, 17 January 2008 19:02 Go to previous message
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.

------=_NextPart_000_0350_01C85911.A075CD10
Content-Type: text/plain;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable

https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D215690
"Eike Stepper" <stepper@sympedia.de> wrote in message =
news:flo8b5$364$1@build.eclipse.org...
Simon,

I fully agree. Please open an enhancement request. I'd appreciate if =
you'd come up with an initial patch ;-)

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j



Simon McDuff schrieb:=20
Also it will optimized CDOReferenceProxyImpl... we should not initialize =
all=20
the index with that.

Maybe we should have something to start with as easy as the following :

If I want to load a list with size 1000 with no data initialized =
inside...=20
we should not allocate the array or any CDOReferenceProxyImpl
As soon as the application initialize something we can go like before.
This will be a good start it will:
- Abstract any details about how to manager the list internally.

It will be easier to optimize after that.


Simon


"Simon McDuff" <smcduff@hotmail.com> wrote in message=20
news:flo58r$2vn$1@build.eclipse.org...
Hi EIke,

Do you think it will be good to have a List that have a better =
management=20
of UNINITIALIZED value ?

At the moment, if the real size of a collection is 1000, we create an=20
array of 1000, we initialized a few of them... after we put the other=20
element at UNINITIALIZED.


Should the list have better management ? We could beneficiate with a=20
better management internally.

- Improve serialization
- Improve memory

Thank you

Simon





=20


------=_NextPart_000_0350_01C85911.A075CD10
Content-Type: text/html;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-15>
<META content=3D"MSHTML 6.00.2900.3199" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D215690">https://b=
ugs.eclipse.org/bugs/show_bug.cgi?id=3D215690</A></FONT></DIV >
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Eike Stepper" &lt;<A=20
href=3D"mailto:stepper@sympedia.de">stepper@sympedia.de</A>&gt; wrote =
in message=20
<A=20
=
href=3D"news:flo8b5$364$1@build.eclipse.org">news:flo8b5$364$1@build.ecli=
pse.org</A>...</DIV>Simon,<BR><BR>I=20
fully agree. Please open an enhancement request. I'd appreciate if =
you'd come=20
up with an initial patch ;-)<BR><BR>Regards,<BR>Eike =
Stepper<BR>----<BR><A=20
class=3Dmoz-txt-link-freetext=20
=
href=3D"http://wiki.eclipse.org/CDO">http://wiki.eclipse.org/CDO</A><BR><=
A=20
class=3Dmoz-txt-link-freetext=20
=
href=3D"http://wiki.eclipse.org/Net4j">http://wiki.eclipse.org/Net4j</A><=
BR><BR><BR><BR>Simon=20
McDuff schrieb:=20
<BLOCKQUOTE cite=3Dmid:flo6uc$8nc$1@build.eclipse.org =
type=3D"cite"><PRE wrap=3D"">Also it will optimized =
CDOReferenceProxyImpl... we should not initialize all=20
the index with that.

Maybe we should have something to start with as easy as the following :

If I want to load a list with size 1000 with no data initialized =
inside...=20
we should not allocate the array or any CDOReferenceProxyImpl
As soon as the application initialize something we can go like before.
This will be a good start it will:
- Abstract any details about how to manager the list internally.

It will be easier to optimize after that.


Simon


"Simon McDuff" <A class=3Dmoz-txt-link-rfc2396E =
href=3D"mailto:smcduff@hotmail.com">&lt;smcduff@hotmail.com&gt;</A> =
wrote in message=20
<A class=3Dmoz-txt-link-freetext =
href=3D"news:flo58r$2vn$1@build.eclipse.org">news:flo58r$2vn$1@build.ecli=
pse.org</A>...
</PRE>
<BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">Hi EIke,

Do you think it will be good to have a List that have a better =
management=20
of UNINITIALIZED value ?

At the moment, if the real size of a collection is 1000, we create an=20
array of 1000, we initialized a few of them... after we put the other=20
element at UNINITIALIZED.


Should the list have better management ? We could beneficiate with a=20
better management internally.

- Improve serialization
- Improve memory

Thank you

Simon





</PRE></BLOCKQUOTE><PRE wrap=3D""><!---->

</PRE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0350_01C85911.A075CD10--
Re: [CDO][0.8.0] CDORevision List - should have a better implementation for UNINITIALIZED data. [message #613928 is a reply to message #106226] Sat, 05 January 2008 15:15 Go to previous message
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
Also it will optimized CDOReferenceProxyImpl... we should not initialize all
the index with that.

Maybe we should have something to start with as easy as the following :

If I want to load a list with size 1000 with no data initialized inside...
we should not allocate the array or any CDOReferenceProxyImpl
As soon as the application initialize something we can go like before.
This will be a good start it will:
- Abstract any details about how to manager the list internally.

It will be easier to optimize after that.


Simon


"Simon McDuff" <smcduff@hotmail.com> wrote in message
news:flo58r$2vn$1@build.eclipse.org...
> Hi EIke,
>
> Do you think it will be good to have a List that have a better management
> of UNINITIALIZED value ?
>
> At the moment, if the real size of a collection is 1000, we create an
> array of 1000, we initialized a few of them... after we put the other
> element at UNINITIALIZED.
>
>
> Should the list have better management ? We could beneficiate with a
> better management internally.
>
> - Improve serialization
> - Improve memory
>
> Thank you
>
> Simon
>
>
>
>
>
Re: [CDO][0.8.0] CDORevision List - should have a better implementation for UNINITIALIZED data. [message #613930 is a reply to message #106240] Sat, 05 January 2008 15:39 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------060804040105070207000604
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Simon,

I fully agree. Please open an enhancement request. I'd appreciate if
you'd come up with an initial patch ;-)

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j



Simon McDuff schrieb:
> Also it will optimized CDOReferenceProxyImpl... we should not initialize all
> the index with that.
>
> Maybe we should have something to start with as easy as the following :
>
> If I want to load a list with size 1000 with no data initialized inside...
> we should not allocate the array or any CDOReferenceProxyImpl
> As soon as the application initialize something we can go like before.
> This will be a good start it will:
> - Abstract any details about how to manager the list internally.
>
> It will be easier to optimize after that.
>
>
> Simon
>
>
> "Simon McDuff" <smcduff@hotmail.com> wrote in message
> news:flo58r$2vn$1@build.eclipse.org...
>
>> Hi EIke,
>>
>> Do you think it will be good to have a List that have a better management
>> of UNINITIALIZED value ?
>>
>> At the moment, if the real size of a collection is 1000, we create an
>> array of 1000, we initialized a few of them... after we put the other
>> element at UNINITIALIZED.
>>
>>
>> Should the list have better management ? We could beneficiate with a
>> better management internally.
>>
>> - Improve serialization
>> - Improve memory
>>
>> Thank you
>>
>> Simon
>>
>>
>>
>>
>>
>>
>
>
>

--------------060804040105070207000604
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Simon,<br>
<br>
I fully agree. Please open an enhancement request. I'd appreciate if
you'd come up with an initial patch ;-)<br>
<br>
Regards,<br>
Eike Stepper<br>
----<br>
<a class="moz-txt-link-freetext" href="http://wiki.eclipse.org/CDO">http://wiki.eclipse.org/CDO</a><br>
<a class="moz-txt-link-freetext" href="http://wiki.eclipse.org/Net4j">http://wiki.eclipse.org/Net4j</a><br>
<br>
<br>
<br>
Simon McDuff schrieb:
<blockquote cite="mid:flo6uc$8nc$1@build.eclipse.org" type="cite">
<pre wrap="">Also it will optimized CDOReferenceProxyImpl... we should not initialize all
the index with that.

Maybe we should have something to start with as easy as the following :

If I want to load a list with size 1000 with no data initialized inside...
we should not allocate the array or any CDOReferenceProxyImpl
As soon as the application initialize something we can go like before.
This will be a good start it will:
- Abstract any details about how to manager the list internally.

It will be easier to optimize after that.


Simon


"Simon McDuff" <a class="moz-txt-link-rfc2396E" href="mailto:smcduff@hotmail.com">&lt;smcduff@hotmail.com&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:flo58r$2vn$1@build.eclipse.org">news:flo58r$2vn$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Hi EIke,

Do you think it will be good to have a List that have a better management
of UNINITIALIZED value ?

At the moment, if the real size of a collection is 1000, we create an
array of 1000, we initialized a few of them... after we put the other
element at UNINITIALIZED.


Should the list have better management ? We could beneficiate with a
better management internally.

- Improve serialization
- Improve memory

Thank you

Simon





</pre>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
</body>
</html>

--------------060804040105070207000604--


Re: [CDO][0.8.0] CDORevision List - should have a better implementation for UNINITIALIZED data. [message #614039 is a reply to message #106253] Thu, 17 January 2008 19:02 Go to previous message
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.

------=_NextPart_000_0350_01C85911.A075CD10
Content-Type: text/plain;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable

https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D215690
"Eike Stepper" <stepper@sympedia.de> wrote in message =
news:flo8b5$364$1@build.eclipse.org...
Simon,

I fully agree. Please open an enhancement request. I'd appreciate if =
you'd come up with an initial patch ;-)

Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j



Simon McDuff schrieb:=20
Also it will optimized CDOReferenceProxyImpl... we should not initialize =
all=20
the index with that.

Maybe we should have something to start with as easy as the following :

If I want to load a list with size 1000 with no data initialized =
inside...=20
we should not allocate the array or any CDOReferenceProxyImpl
As soon as the application initialize something we can go like before.
This will be a good start it will:
- Abstract any details about how to manager the list internally.

It will be easier to optimize after that.


Simon


"Simon McDuff" <smcduff@hotmail.com> wrote in message=20
news:flo58r$2vn$1@build.eclipse.org...
Hi EIke,

Do you think it will be good to have a List that have a better =
management=20
of UNINITIALIZED value ?

At the moment, if the real size of a collection is 1000, we create an=20
array of 1000, we initialized a few of them... after we put the other=20
element at UNINITIALIZED.


Should the list have better management ? We could beneficiate with a=20
better management internally.

- Improve serialization
- Improve memory

Thank you

Simon





=20


------=_NextPart_000_0350_01C85911.A075CD10
Content-Type: text/html;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-15>
<META content=3D"MSHTML 6.00.2900.3199" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D215690">https://b=
ugs.eclipse.org/bugs/show_bug.cgi?id=3D215690</A></FONT></DIV >
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Eike Stepper" &lt;<A=20
href=3D"mailto:stepper@sympedia.de">stepper@sympedia.de</A>&gt; wrote =
in message=20
<A=20
=
href=3D"news:flo8b5$364$1@build.eclipse.org">news:flo8b5$364$1@build.ecli=
pse.org</A>...</DIV>Simon,<BR><BR>I=20
fully agree. Please open an enhancement request. I'd appreciate if =
you'd come=20
up with an initial patch ;-)<BR><BR>Regards,<BR>Eike =
Stepper<BR>----<BR><A=20
class=3Dmoz-txt-link-freetext=20
=
href=3D"http://wiki.eclipse.org/CDO">http://wiki.eclipse.org/CDO</A><BR><=
A=20
class=3Dmoz-txt-link-freetext=20
=
href=3D"http://wiki.eclipse.org/Net4j">http://wiki.eclipse.org/Net4j</A><=
BR><BR><BR><BR>Simon=20
McDuff schrieb:=20
<BLOCKQUOTE cite=3Dmid:flo6uc$8nc$1@build.eclipse.org =
type=3D"cite"><PRE wrap=3D"">Also it will optimized =
CDOReferenceProxyImpl... we should not initialize all=20
the index with that.

Maybe we should have something to start with as easy as the following :

If I want to load a list with size 1000 with no data initialized =
inside...=20
we should not allocate the array or any CDOReferenceProxyImpl
As soon as the application initialize something we can go like before.
This will be a good start it will:
- Abstract any details about how to manager the list internally.

It will be easier to optimize after that.


Simon


"Simon McDuff" <A class=3Dmoz-txt-link-rfc2396E =
href=3D"mailto:smcduff@hotmail.com">&lt;smcduff@hotmail.com&gt;</A> =
wrote in message=20
<A class=3Dmoz-txt-link-freetext =
href=3D"news:flo58r$2vn$1@build.eclipse.org">news:flo58r$2vn$1@build.ecli=
pse.org</A>...
</PRE>
<BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">Hi EIke,

Do you think it will be good to have a List that have a better =
management=20
of UNINITIALIZED value ?

At the moment, if the real size of a collection is 1000, we create an=20
array of 1000, we initialized a few of them... after we put the other=20
element at UNINITIALIZED.


Should the list have better management ? We could beneficiate with a=20
better management internally.

- Improve serialization
- Improve memory

Thank you

Simon





</PRE></BLOCKQUOTE><PRE wrap=3D""><!---->

</PRE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0350_01C85911.A075CD10--
Previous Topic:[CDO][0.8.0] Nested Transaction
Next Topic:[Teneo] Multi-column join?
Goto Forum:
  


Current Time: Fri Mar 29 07:34:57 GMT 2024

Powered by FUDForum. Page generated in 0.02500 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top