Skip to content

Experimenting with changes to library layout #13

Open
@flippmoke

Description

@flippmoke

I am going to experiment with a few layout change of the library for a couple of reasons:

  • Break code out to seperate methods make algorithm more readable
  • Change names of variables and methods to make intent more clear
  • Lower amount of allocations performed during algorithm
  • Decrease the amount of memory allocated in the heap at any one period and lower overall memory footprint of algorithm
  • Decrease likelihood of cache misses
  • Migrate away from uses of indices in some portions of the code with a preference for use of pointers instead.
    • Allows for more compiler optimizations
    • Makes code more readable by specifying what index actual references into
    • Reduces memory overhead
  • Allow more generic user defined data types via templates (user can define a data structure that suits their use more easily)

You will likely see these as a series of PRs that I will try to break out into concise updates (not all at once) so that it can be well understood why certain changes are being made and the code more easily reviewed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions