Git Product home page Git Product logo

Comments (2)

EgonOlsen71 avatar EgonOlsen71 commented on August 11, 2024

I'm not sure, why you don't see a speed improvement here!? When I run both programs side by side, the compiled version is almost 3 times faster than the interpreted one. It's not more mainly because of the SIN call, which is very expensive (and the rest is quit a lot of fp math as well) and the compiler doesn't do anything to speed it up, because it uses the ROM routines for floating point math...except for your SQR call. It will accelerate that one slightly.

from basicv2.

nippur72 avatar nippur72 commented on August 11, 2024

Doh!

For some very odd reason, the following shell command runs two instances of VICE but loads the SAME .prg

x64 3dfun_c64.prg & x64 3dfun_c64_mospeed.prg

(it's a Windows 10 x64 system).

Run them separately and the world is ok again! Thanks!

And yes, the speed gain is about 3x. Very nice, love this compiler.

from basicv2.

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.