-
Notifications
You must be signed in to change notification settings - Fork 312
Open
Labels
Description
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.