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

Create a List object that is more efficient and reduces bugs #4

Open
ktofu opened this issue Jun 30, 2014 · 0 comments
Open

Create a List object that is more efficient and reduces bugs #4

ktofu opened this issue Jun 30, 2014 · 0 comments

Comments

@ktofu
Copy link
Member

ktofu commented Jun 30, 2014

At the moment, lists can only be validated all at once. In cases where there are millions of items in the list, this could be too expensive.

An Encodium List object should inherit from list, but automatically validate individual items when they are appended (and check constraints such as max_length, etc).

Furthermore, if you append something to a primitive list, the encodium check_ functions will not be triggered, and must be called manually (hence why implementing this would reduce bugs)

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

No branches or pull requests

1 participant