Coder Social home page Coder Social logo

Comments (5)

nickmalleson avatar nickmalleson commented on August 12, 2024

from ramp-ua.

nickmalleson avatar nickmalleson commented on August 12, 2024

from ramp-ua.

dabreegster avatar dabreegster commented on August 12, 2024

Thanks for the fast response! (I assume Richard is subscribed to the conversation here, or being forwarded emails?)

I think the URN is used earlier to set up activity locations, but there's no need to do this mapping in the middle of the QUANT table lookup. I would guess it was put in there originally for debugging, but never taken out, and has been slowing down that code for a while. :)

This gets used in the RAMP model to propagate the infection, but I don’t think the QUANT part ever gets used beyond the model initialisation stage?

That's correct based on my understanding so far. The init stage in Python can take many hours for larger regions, and one of the biggest slowdowns is here. But the speedups won't affect running the model.

One final question, but where can I find the code that Improbable wrote?

Who is Improbable? In case you meant the Rust port that I started, the QUANT code is at https://github.com/dabreegster/rampfs/blob/a5087204f484b21e5ff80246f98e8831bd67a4a5/src/quant.rs#L118.

from ramp-ua.

nickmalleson avatar nickmalleson commented on August 12, 2024

from ramp-ua.

dabreegster avatar dabreegster commented on August 12, 2024

Cleaning up this old issue. If anybody using the main branch here needs to speed up their QUANT reader, just remove the dead code mentioned above

from ramp-ua.

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.