yunfan / fibonacci36 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from simplosophy/fibonacci36
computation time of Fibonacci(36) using different programming languages
This project forked from simplosophy/fibonacci36
computation time of Fibonacci(36) using different programming languages
测试各种编程语言运行Fibonacci36所需的执行时间来衡量编程语言函数调用效率,其中Fibonacci函数要采用如下形式实现(不用通项公式。。。-_-!): fib(n){ if(n<2) return 1; else return fib(n-2)+fib(n-1); } 可以使用time命令来测试运行时间,如time node fib.js 36 C、java等编译型语言需要自己先编译 归功与V8引擎,node.js表现很出色,测试结果合情理,但是也会出人意料。 困,碎觉去鸟。。。 PS: 我这里增加的 forth的实现 fib.4th 在我台式机上跑速度惊人,不过需要请原作者在原机器上跑一次 考虑到原作者的机器是mac 可以在这里下载 forth的环境 http://www.forth.com/swiftforth/version.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.