Git Product home page Git Product logo

Comments (6)

kayhayen avatar kayhayen commented on September 26, 2024 1

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html

Feedback if this is working is very welcome, just please do not share plans of doing it, but rather confirmations or denials of it working.

from nuitka.

kayhayen avatar kayhayen commented on September 26, 2024

With stuck you mean, like no output anymore, that's indeed very not good.

from nuitka.

kayhayen avatar kayhayen commented on September 26, 2024

It's reproducible if I attempt to only compile the vedo.addons backing file with --module. It seems stuck on this line:

acts = titles + lines + labels + grids + framelines

And apparently it's endless looping trying to get the type shape of lines which is not a particularly hard variable. It's assigned from [] and then appended a few times, but then seems to get stuck in that lookup.

from nuitka.

kayhayen avatar kayhayen commented on September 26, 2024

This code was added at some point:

                if trace1.isEscapeTrace() and trace1.previous is trace2:
                    version = versions[0]
                elif trace2 is trace1.isEscapeTrace() and trace2.previous is trace1:
                    version = versions[1]
                else:
                    version = self.addVariableMergeMultipleTrace(
                        variable=variable,
                        traces=(
                            trace1,
                            trace2,
                        ),
                    )

The intention was to avoid merge traces of traces that may or may not be escaped, and replace them with the escaped trace only. However, the second branch has a typo trace2 is that made it ineffective in those cases. Recent changes make escape traces actually consider their previous trace, before it was essentially giving unknown type shape. At that point, this became way more than a waste of memory, it became a scalability issue, where the ever deeper nesting of those traces could render code to become slower and slower to optimize the more escapes (usually unknown code can run) are seen.

The result of this will be two fold. Some codes will use a lot less value traces now, which would always have been a good idea, and this now compiles in somewhat acceptable time, albeit not too fast.

from nuitka.

zincers avatar zincers commented on September 26, 2024

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html

Feedback if this is working is very welcome, just please do not share plans of doing it, but rather confirmations or denials of it working.

Thanks for your comment, factory branch works for me.

from nuitka.

kayhayen avatar kayhayen commented on September 26, 2024

This is part of the hotfix release 2.0.1 that I just made.

from nuitka.

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.