Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instantiating unbounded EMS array #8

Open
FarzadT opened this issue Feb 2, 2016 · 1 comment
Open

Instantiating unbounded EMS array #8

FarzadT opened this issue Feb 2, 2016 · 1 comment

Comments

@FarzadT
Copy link

FarzadT commented Feb 2, 2016

Is it possible to instantiate an EMS array object without specifying it's dimension? I'm at a case where I do not know how big the array will be.

@mogill
Copy link
Owner

mogill commented Feb 2, 2016

Hi Farzad,

Unfortunately that's not possible presently, but it could be implemented at the cost of pausing access in order to rehash the EMS array when it is resized.

The plan for EMS 2.0 adds dynamic allocation, a better persistence model, and improves resiliency, but I was not planning retrofitting these things into EMS 1.x. If the brute-force workaround of over-allocating all the EMS arrays is a show-stopper, but pausing to rehash the array upon resize isn't a showstopper, let me know and I can take a look at implementing it in EMS 1.x.

       -J

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants