<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6747788967703537929</id><updated>2024-09-04T13:52:28.752+02:00</updated><category term="Other"/><category term="PHP"/><category term="HTML"/><category term="JavaScript"/><category term="CSS"/><category term="IE"/><category term="My Library"/><title type='text'>Zen Dev</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6747788967703537929.post-8692915130271817049</id><published>2011-10-26T21:50:00.002+02:00</published><updated>2011-10-26T23:35:08.880+02:00</updated><title type='text'>My thoughts on Nokia</title><summary type="text">Recently Nokia has gained a lot of attraction since it has (almost) fall from leading mobile phone manufacturer (yeah, Symbians are still top selling mobile phone devices). In this post I will give some personal opinions about Nokia, it&#39;s past, present and the future.


My first mobile phone wasn&#39;t Nokia. I actually had several brands before I bought first Nokia. At that time, I didn&#39;t find it </summary><link rel='replies' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/8692915130271817049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://into-the-zen.blogspot.com/2011/10/my-thoughts-on-nokia.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/8692915130271817049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/8692915130271817049'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/2011/10/my-thoughts-on-nokia.html' title='My thoughts on Nokia'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6747788967703537929.post-6125028452389881762</id><published>2011-10-21T20:14:00.002+02:00</published><updated>2011-10-21T20:17:36.768+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Other"/><title type='text'>Contraction hierarchies (part 4)</title><summary type="text">When preprocessing of original graphis is done, we need to build CH graph which consists of node order and original graph with shortcut edges introduced in preprocessing stage.

On CH graph we can make queries to find shortest paths with modified bidirectional Dijkstra&#39;s algorithm - algorthm performs forward search from starting node s expanding to the nodes that have higher order and backward </summary><link rel='replies' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/6125028452389881762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://into-the-zen.blogspot.com/2011/10/contraction-hierarchies-part-4.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/6125028452389881762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/6125028452389881762'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/2011/10/contraction-hierarchies-part-4.html' title='Contraction hierarchies (part 4)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL8MrenXgLjI7DyAHpHB1LBFijDux4fmAGyWJBASpDt6SOEph7Uk0HCZTLvClXUxXEOhKoSk0SU_OvmtIIogVHAv7QKzb0S52EX1oU6Vb1RMRh3Rl49C4fCdUK91I-BOMORl58f9eQvGWK/s72-c/pic1.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6747788967703537929.post-6683744117896899828</id><published>2011-08-15T17:19:00.000+02:00</published><updated>2011-08-15T17:19:23.335+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Other"/><title type='text'>Contraction hierarchies (part 3)</title><summary type="text">Formal definition of CH would be:

CH = (V, E&#39;), &quot;&amp;lt;&quot;, where V is set of nodes, E is set of edges of original graph with introduced shortcut edges and &quot;&amp;lt;&quot; is relation that defines different levels of contration hierarchy.

Levels/order of nodes in CH can be arbitrary. The main point is that shorcuts are introduced when necessary. To understand when shortcut is necessary, one has to </summary><link rel='replies' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/6683744117896899828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://into-the-zen.blogspot.com/2011/08/contraction-hierarchies-part-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/6683744117896899828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/6683744117896899828'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/2011/08/contraction-hierarchies-part-3.html' title='Contraction hierarchies (part 3)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlllgpwTZ0HthlzUDyUKBI66I9TdUXW4I_YvoFVIMBGWfFW42CqxWN9lPejZ8nad76SWhmeMIj-okgReIzNod93NpZGlbFSdifd1DQhwQxEwf6z1rLYFOplvp5qcIOSyiB697eTwG3QUht/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6747788967703537929.post-9218202034430837272</id><published>2011-02-28T22:56:00.007+01:00</published><updated>2011-02-28T23:03:57.149+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Other"/><title type='text'>Contraction hierarchies (part 2)</title><summary type="text">So, in general, there are two distinct phases: preprocessing of original graph (usually it takes more than a hour to finish) and queries (less than a second).


Contraction hierarchy is extreme case of hierarchy approach. Every node in the graph is represented as it&#39;s own level of hierarchy. This can be achieved in many ways, but one way is obvious and simple. If |N| is number of nodes in the </summary><link rel='replies' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/9218202034430837272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://into-the-zen.blogspot.com/2011/02/contraction-hierarchies-part-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/9218202034430837272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/9218202034430837272'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/2011/02/contraction-hierarchies-part-2.html' title='Contraction hierarchies (part 2)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6747788967703537929.post-8242557551556750994</id><published>2011-01-26T09:52:00.001+01:00</published><updated>2011-02-28T21:41:42.194+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Other"/><title type='text'>Contraction hierarchies (part 1)</title><summary type="text">And now something completely different. :)



&quot;Contraction hierarchies&quot; is new approach for solving shortest path problem in graph theory. Shortest path problem (http://en.wikipedia.org/wiki/Shortest_path_problem) can be solved using classical algorithms like Dijkstra&#39;s algorithm (http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm). But, classical algorithms are not useful on large graphs (more </summary><link rel='replies' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/8242557551556750994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://into-the-zen.blogspot.com/2011/01/contraction-hierarchies-part-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/8242557551556750994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/8242557551556750994'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/2011/01/contraction-hierarchies-part-1.html' title='Contraction hierarchies (part 1)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6747788967703537929.post-576850342206911086</id><published>2010-07-28T14:23:00.001+02:00</published><updated>2010-07-28T14:46:33.407+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IE"/><title type='text'>Will Microsoft finally release decent version of Internet explorer?</title><summary type="text">Web developers knows how difficult is to make functional page in IE6 due to it&#39;s bugs and non standard&amp;nbsp;behavior. It takes a lot of skills and quirks to make IE6 users happy.

Even regular Internet users know how bad IE6 is. Many of them got some kind of malicious software due to poor security.

Many of IE6 users are corporate users (Google was for example, but many banks are still stuck with</summary><link rel='replies' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/576850342206911086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://into-the-zen.blogspot.com/2010/07/will-microsoft-finally-release-decent.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/576850342206911086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/576850342206911086'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/2010/07/will-microsoft-finally-release-decent.html' title='Will Microsoft finally release decent version of Internet explorer?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6747788967703537929.post-5264587590169632597</id><published>2010-07-20T14:27:00.000+02:00</published><updated>2010-07-20T14:27:48.492+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>Aptana for PHP</title><summary type="text">My favorite IDE has support for PHP again!

It&#39;s still in early stage of development, but it looks promising. Feel free to try it, it usable at this stage.

http://www.aptana.com/products/studio3/download 

Test it, report bugs - and make suggestions! Suggestions will help Aptana team to make this product better.

https://aptanastudio.tenderapp.com/discussions/suggestions</summary><link rel='replies' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/5264587590169632597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://into-the-zen.blogspot.com/2010/07/aptana-for-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/5264587590169632597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/5264587590169632597'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/2010/07/aptana-for-php.html' title='Aptana for PHP'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6747788967703537929.post-2726700695479987424</id><published>2010-04-22T17:08:00.004+02:00</published><updated>2010-04-22T17:15:06.068+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="My Library"/><title type='text'>How to choose JavaScript framework</title><summary type="text">You have probably found many articles describing what are requirements that one JavaScript framework has to have. Some of them are (they are not listed in any particular order):
list of supported browsers
documentation
community
intuitive API
speed
extensible
and so on.
But many of this articles fail to mention one of the most important things. This article will introduce you to one of the most </summary><link rel='replies' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/2726700695479987424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/how-to-choose-javascript-framework.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/2726700695479987424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/2726700695479987424'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/how-to-choose-javascript-framework.html' title='How to choose JavaScript framework'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6747788967703537929.post-7981704528914635868</id><published>2010-04-18T15:36:00.001+02:00</published><updated>2010-04-18T15:36:27.189+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>IE6 and CSS &quot;:hover&quot; pseudo-class</title><summary type="text">In my last post I&#39;ve forgot about one important thing - IE6 doesn&#39;t support CSS &quot;:hover&quot; pseudo-class for &quot;span&quot; elements (actually, it supports it only for &quot;a&quot; - anchor elements).

There are some solutions for this problem and you can find it easily with search engines. I prefer using IE conditional comments in which one can include what ever is specific for IE. In this case, &quot;:hover&quot; </summary><link rel='replies' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/7981704528914635868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/ie6-and-css-hover-pseudo-class.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/7981704528914635868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/7981704528914635868'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/ie6-and-css-hover-pseudo-class.html' title='IE6 and CSS &quot;:hover&quot; pseudo-class'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6747788967703537929.post-7598219788984278287</id><published>2010-04-15T14:59:00.008+02:00</published><updated>2010-04-15T15:18:53.955+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Don&#39;t use &quot;javascript:&quot; pseudo-protocol</title><summary type="text">I see many web pages uses&amp;nbsp;&quot;javascript:&quot; pseudo-protocol in the &quot;href&quot; attribute of &quot;a&quot; (anchor) element.

For example:

&amp;lt;a href=&quot;javascript:myFunc();&quot;&amp;gt;Click me!&amp;lt;/a&amp;gt;
But that&#39;s not a good practice. IE6 produces some side effects when using&amp;nbsp;&quot;javascript:&quot; pseudo-protocol (newer versions of IE seems to solve the problems). One side effect is that it blocks &quot;gif&quot; animation (you </summary><link rel='replies' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/7598219788984278287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/dont-use-javascript-pseudo-protocol.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/7598219788984278287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/7598219788984278287'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/dont-use-javascript-pseudo-protocol.html' title='Don&#39;t use &quot;javascript:&quot; pseudo-protocol'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6747788967703537929.post-2274824376057771111</id><published>2010-04-14T16:53:00.011+02:00</published><updated>2010-04-14T17:02:32.494+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>What HTML DOCTYPE to choose?</title><summary type="text">

Intro


If you don&#39;t know what DOCTYPE&amp;nbsp;is (http://en.wikipedia.org/wiki/Document_Type_Declaration) - or even worse, don&#39;t use it in your HTML documents ... well, you should. When&amp;nbsp;DOCTYPE&amp;nbsp;is not present, some browsers are triggered to the quirks mode and then they render web page in a different way. So, in order to get your HTML page to look and behave similar/same in </summary><link rel='replies' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/2274824376057771111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/what-html-doctype-to-choose.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/2274824376057771111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/2274824376057771111'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/what-html-doctype-to-choose.html' title='What HTML DOCTYPE to choose?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6747788967703537929.post-8721599481681339491</id><published>2010-04-11T20:48:00.007+02:00</published><updated>2010-04-19T08:55:50.380+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>PHP benchmarks (part 3)</title><summary type="text">There is third and final post about PHP benchmarks.


Test:double (&quot;) &amp;nbsp;&amp;nbsp; vs. &amp;nbsp;&amp;nbsp; single (&#39;) quotes
This one doesn&#39;t need to be tested, since single quotes are faster (but not so much as people would think), since double quotes strings do parse to find variables and special characters while single quotes don&#39;t.

Here is simple example to demonstrate that:

$var = 123;$</summary><link rel='replies' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/8721599481681339491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/php-benchmarks-part-3.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/8721599481681339491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/8721599481681339491'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/php-benchmarks-part-3.html' title='PHP benchmarks (part 3)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6747788967703537929.post-3591302687557001726</id><published>2010-04-09T14:17:00.009+02:00</published><updated>2010-04-09T14:44:33.464+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>PHP benchmarks (part 2)</title><summary type="text">Let&#39;s continue ...

Next test  is:

TestIs it worth the effort to calculate the length of the loop in  advance? 
E.g.  &quot;$size=count($array); for ($i=0; $i&amp;lt;$size; $i++)&quot; instead of  &quot;for ($i=0;  $i&amp;lt;count($array);$i++)&quot;
This test is good in terms of optimization (precalculation  of array&#39;s size is worth, because size of an array is being calculated every time at new iteration), but one thing </summary><link rel='replies' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/3591302687557001726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/php-benchmarks-part-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/3591302687557001726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/3591302687557001726'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/php-benchmarks-part-2.html' title='PHP benchmarks (part 2)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6747788967703537929.post-8382538795403476248</id><published>2010-04-06T17:37:00.009+02:00</published><updated>2010-04-07T01:05:32.920+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>PHP benchmarks (part 1)</title><summary type="text">Recently I&#39;ve stumbled upon several PHP benchmark tests. I&#39;ve found that a lot of these tests were inaccurate or based on false conceptions.
Unfortunately, none of them mentioned what PHP version are they using (and maybe some extra stuff could be useful also). I&#39;ll use PHP 5.3/Apache 2.2 on my Windows XP SP3.


Let&#39;s bring up some light. I&#39;ll begin with loops!

LOOPS


Question:&amp;nbsp;What is the</summary><link rel='replies' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/8382538795403476248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/php-benchmarks-part-1.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/8382538795403476248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/8382538795403476248'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/php-benchmarks-part-1.html' title='PHP benchmarks (part 1)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6747788967703537929.post-7596568248332722477</id><published>2010-04-04T11:47:00.000+02:00</published><updated>2010-04-04T11:52:56.534+02:00</updated><title type='text'>Intro</title><summary type="text">Welcome!This will be a blog dedicated to web development in general, PHP in particular, My library - new and promising JavaScript framework, HTML &amp; CSS, system design, design patterns and much more.I&#39;ll try to write simple as possible ~ zenfully.Hope you&#39;ll like it!</summary><link rel='replies' type='application/atom+xml' href='http://into-the-zen.blogspot.com/feeds/7596568248332722477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/intro.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/7596568248332722477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6747788967703537929/posts/default/7596568248332722477'/><link rel='alternate' type='text/html' href='http://into-the-zen.blogspot.com/2010/04/intro.html' title='Intro'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07935090803334601027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>