Giter VIP home page Giter VIP logo

Comments (7)

yoff avatar yoff commented on July 19, 2024

Does encoding not do static analysis?

from barista.

rgrig avatar rgrig commented on July 19, 2024

I don't expect that part to be slow on average, unless the algorithm isn't implemented properly.

from barista.

rgrig avatar rgrig commented on July 19, 2024

Hmm ... You are right: Changing unify to always return Top brings down the runtime from 7m30s to 5m12s. So, the encoding is about 4m58s, out of which about 2m18s are spent spinning in symbolic execution. Meanwhile, decoding is about 1m22s. I still think encoding should be faster, but symbolic execution takes more time than I expected.

Here are the estimates again, for ease of reading later:

  • decoding 1m20s
  • encoding 5m, out of which
    • 2m20s searching for fixed-point in type inference
    • 2m40s other stuff

from barista.

yoff avatar yoff commented on July 19, 2024

Wow, so even the other stuff is twice the time of decoding...does that include writing the files?
I share your feeling that the symbolic execution should be faster as well, but I am not really sure why...

from barista.

rgrig avatar rgrig commented on July 19, 2024

Decoding includes reading the files; encoding includes writing the files.

from barista.

yoff avatar yoff commented on July 19, 2024

Ok, then the "other stuff" is definitely too slow, I wonder if it is worth profiling...

from barista.

rgrig avatar rgrig commented on July 19, 2024

It is worth profiling, but not this week. :)

from barista.

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.