In this article I would like to analyze the performance of one of the best sorting algorithms I know: Quicksort.
When I first saw the algorithm I was also told that on average it has \(O(n\log n)\) time complexity, however I never saw a proof until today.
Today I read
In this article, we will learn the benefits of persistent connection in PDO, in terms of memory usage and time of execution.
The article will only observe connection to MySQL database.
Introduction
PDO is an abstraction layer for database connections in PHP, and it became increasingly popular in the past few years.
[...]
In the past few years ORMs have become increasingly popular; however I, personally, don’t like most of the ORM libraries.
ORMs are used to map data from the database to access it easily, and generally they do make it easier than regular SQL.
Nevertheless, these libraries are usually very heavy (Doctrine is almost 2MB!) [...]
PHP 5.3 extended the Standard PHP Library, it came with some new-fancy data structures such as SplStack, SplMaxHeap and many more.
In this article I would like to focus one of them – SplFixedArray.
In PHP, arrays are one of the most fundamental data structures.
We use them everywhere.
Categories
