Skip to content

Array Hard coded size problem #12

@KFKMan

Description

@KFKMan

Currently we are using hard coded sizes for array allocation. Because of that we can't use more bigger values unless changing the hard coded value and rebuilding. And sometimes we are working with very low values like 100, 1000. Allocating 10000000 element array for 1000 element...

Problems;

  • A lot of memory usage
  • For bigger arrays (bigger than hard coded size) hard coded value need to be changed, rebuild needed.

Potential Solutions;

  • List class like std::list (c++), System.Collections.Generic.List (c#)
  • Pointer Pointer Array
  • Max size detection

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions