Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • N ndcurves
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • loco-3d
  • ndcurves
  • Issues
  • #33
Closed
Open
Issue created May 04, 2020 by Pierre Fernbach@pfernbacOwner

Reduce memory footprint for piecewise linear interpolation

When creating a piecewise<polynomial> from a set of discrete points (eg. with https://gitlab.laas.fr/loco-3d/curves/-/blob/master/include/curves/piecewise_curve.h#L271) all the points except the first and last one are stored twice. Once as the final point of one polynomial, and a second time as the initial point of the next polynomial.

Having a specific implementation for this case would allow to cut the memory usage by half, but add a little complexity in the code.

Assignee
Assign to
Time tracking