Code Monkey home page Code Monkey logo

Comments (4)

robbert-vdh avatar robbert-vdh commented on June 7, 2024 1

You can just move the ranges to a function. Or create the range once and then clone it. You won't notice any difference at all. A couple additional divisions and exponentiations during the plugin's startup will not show up on a profiler at all. I'll close this since there doesn't seem to be any indication that const floating point math is being stabilized soon (they haven't even decided on what to do when cross compiling yet).

from nih-plug.

robbert-vdh avatar robbert-vdh commented on June 7, 2024

I'd like NIH-plug's core features to work on the stable compiler. How do you propose to make them const without floating point math? Or do you propose conditionally making them const only on the nighly compiler? That sounds like a bit of a rabbit hole.

from nih-plug.

robbert-vdh avatar robbert-vdh commented on June 7, 2024

You can probably just use functions or closures instead if you want to reuse ranges or create multiple similar parameters.

from nih-plug.

BSFishy avatar BSFishy commented on June 7, 2024

As of now, I'm just manually computing the values and putting them in myself, but it would be nice for these utility functions to be available so I don't have to do this.

Opened as a sort of tracking issue for when floating point math is merged into stable

from nih-plug.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.