Limits

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Limits

Vincent Lesbros-2
Why this limit of 2^28 elements ?
I use XML to store all the elements and objects of my application,
because I want to have a "pérenne" solution. (A solution that I can think it will work in years and decenies).
Should I have to implement a new kind of arrays and/or byte string that
allows to store more than 2^28 elements when I have 2^28 + 1 elements to store ?



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

limits.jpg (17K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Limits

Runar Jordahl
You might want to read my post "Allowing Larger Collections by Reducing Growth Size":

We had this problem with large XML documents. A simple override gives your the ability to handle larger documents. Read the post for details.

As an alternative, look into using VisualWorks 64 bit.

Runar Jordahl


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Limits

Vincent Lesbros-2
Thanks, I will try this.
I cant use 64 bit image, because OpenGL is not working on 64 bit images (as far as I know).



2013/12/10 Runar Jordahl <[hidden email]>
You might want to read my post "Allowing Larger Collections by Reducing Growth Size":

We had this problem with large XML documents. A simple override gives your the ability to handle larger documents. Read the post for details.

As an alternative, look into using VisualWorks 64 bit.

Runar Jordahl



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Limits

Steven Kelly
In reply to this post by Vincent Lesbros-2

There’s also SegmentedCollection and its subclasses, which already allow sizes greater than 2^28. So it’s not so much a case of having to create your own array class, but more of changing the relevant parts of the system that instantiate the basic Array to instantiate e.g. LargeArray instead. Of course if you’re dealing with such large amounts of data, it’s probably worth making your own subclass optimized for your own data patterns and usage.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Vincent Lesbros
Sent: Tuesday, December 10, 2013 11:13 PM
To: [hidden email]
Subject: [vwnc] Limits

 

Why this limit of 2^28 elements ?

I use XML to store all the elements and objects of my application,

because I want to have a "pérenne" solution. (A solution that I can think it will work in years and decenies).

Should I have to implement a new kind of arrays and/or byte string that

allows to store more than 2^28 elements when I have 2^28 + 1 elements to store ?

 

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc