Giter Club home page Giter Club logo

Comments (4)

jacklovell avatar jacklovell commented on September 4, 2024

If the performance impact is moderate, I would follow your advice from the Readme:

The general development philosophy is ease of use trumps performance, but performance is not to be ignored.

It sounds like a single code path would result in a considerable improvement in ease-of-use (both for end users and maintainers), larger than the reduction in performance.

Since Cherab already makes heavy use of caching and interpolating, perhaps some of the performance could be clawed back through improvements there, such as cherab/core#50.

from source.

vsnever avatar vsnever commented on September 4, 2024

I looked through the new code in v1/feature/polarisation. Even at this stage, it is already clear that maintaining both polarised and unpolarised versions of all related classes and methods would be very painful. I support the idea of abandoning the unpolarised light calculations, even at the cost of performance.

from source.

CnlPepper avatar CnlPepper commented on September 4, 2024

Thanks for the feedback. I have been heavily leaning to abandoning the unpolarised code. I've run a quick Cornell box test, it is looking to be a ~20% hit, but I think I can claw a lot of that back moving the internals from numpy to python.array.

from source.

CnlPepper avatar CnlPepper commented on September 4, 2024

Decision has been made that v1 will implement only polarised light propagation.

from source.

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.