Skip to content

Confirm optimisation of general case Dn #8

Description

@jngls

A general method exists for dilating and undilating any type and any value of D. The general method uses the constant functions defined in const_generation.rs, so it should - in theory - be optimised as much as the hand written methods. However, this needs to be confirmed.

This should be a useful reference:
https://medium.com/journey-to-rust/viewing-assembly-for-rust-function-d4870baad941

  • Emit optimised assembly for the general case methods
  • Determine whether const functions are indeed optimised out
  • If they are not optimised out, then try implementing the constants in a lookup table instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions