Patrick's playground

Random thoughts, problems and solutions

Tag: comparison

PHP SPL data structure: SplFixedArray

PHP 5.3 introduced some new data structures. The talk of Jurriƫn Stutterheim on PFCongres 2011 on SPL structures and their performance triggered me to have a closer look at the performance of these structures. I was kind of fooled by two comments on the PHP.net page, so it was time to find out myself.

Read More

Python: check for substring speed

I was looking for options on how to check if a certain substring (in my case ' FROM ') is present in a SQL query string when I found this blog entry. Just for fun I decided to have a look at how fast these checks would be compared to each other.

Read More

Powered by WordPress & Theme by Anders Norén