Giter VIP home page Giter VIP logo

Comments (8)

sleipnir avatar sleipnir commented on July 26, 2024 1

@marcellanz I think it would be simple for the discovery callback signature to generate a hash that could be used as a cache, so if the hash stays the same it's safe to reuse the existing code, whereas if the hash has changed then it's because it deals with a new deploy, modified and therefore the compilation process on the fly must occur.
Obviously, this optimization can be turned on and off via configuration so that in case of problems the user can choose to pay the compilation cost

from massa.

sleipnir avatar sleipnir commented on July 26, 2024 1

@wesleimp please comment your thoughts about it

from massa.

sleipnir avatar sleipnir commented on July 26, 2024

I think that we could persist the generated bytecode in Mnesia, so that any other instance of the proxy of the same user function can have an improvement in its initialization because it doesn't need to compile the reflected modules.

from massa.

marcellanz avatar marcellanz commented on July 26, 2024

the coce generation is done right after a discovery call, yes?

from massa.

sleipnir avatar sleipnir commented on July 26, 2024

the coce generation is done right after a discovery call, yes?

Yes!

from massa.

wesleimp avatar wesleimp commented on July 26, 2024

@wesleimp please comment your thoughts about it

Sorry @sleipnir, I didn't see this mention.

from massa.

wesleimp avatar wesleimp commented on July 26, 2024

Closing due to this commit

from massa.

sleipnir avatar sleipnir commented on July 26, 2024

@wesleimp please comment your thoughts about it

Sorry @sleipnir, I didn't see this mention.

No problem. Together we solve the problem for what it's worth

from massa.

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.