Tag: performance comparison
September 14, 2012
algorithms, batch script, beginner, brute force, github, implementation, programming languages, recursive, tools / utilities, tricks
I have used a lot the Fibonacci numbers as an example to illustrate the programming concepts and ideas. Today, I still use this to revisit the concepts of programming …
August 17, 2012
http, I/O File, implementation, multithreading, mysql, php, SEO, software design, tools / utilities, tricks, web programming
In , a PHP-based framework for caching the website is introduced. The sample PHP psudo-code is given. This post will present some additional improvements based on this framework. It …
PHP is a popular web programming language that has been used in millions of website. Below are some simple tips of improving the PHP script, which can make the …
August 14, 2012
code, code library, FTP, HTML5, http, implementation, php, programming languages, SEO, tricks, web programming
I have been doing some SEO (Search Engine Optimisation) work lately to my website and now the page speed has improved quite a lot. In , it describes the …
Python provides a module timeit which allows quick timing of a piece of code. The straightforward example is given below. import timeit bar = timeit.Timer("a += 1", "a = …