-
Notifications
You must be signed in to change notification settings - Fork 272
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
Add ImplicitArray
#457
Comments
Hey, @czgdp1807 I want to work on this issue. Can you please tell me ways to get started? |
Sure go ahead. Well it's about adding new classes ( |
So, do I've to create a new class like this:- class ImplicitArray(Array):
pass
class OneDimensionalImplicitArray(ImplicitArray, OneDimensionalArray):
"Here I've to declare the functions of this class" |
Yeah exactly. In fact, the classes you have inherited seems about right. |
Alright then. I'll work on this issue and I'll create a PR for this. |
hi can you assign me this issue under GSSOC23 . |
Hi @czgdp1807, is the issue still open? |
Description of the problem
As of now in
OneDimensionalArray
and subclasses we store all the data explicitly in memory.ImplicitArray
will just store a function object. This function object will return values for different indices. That way the memory requirement will be reduced to a constant. This will be useful for cases where search algorithms don't need an explicit array but a range and some values associated with that range.Example of the problem
References/Other comments
The text was updated successfully, but these errors were encountered: