<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-7" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hmm, tha ithela na kaname ena test me hash tables to opio<br>
na diabazei ena megalo sinolo apo data na apothikebei se<br>
klidia periexomeno, epita na sortarei kai na grafei se ena arxio.<br>
<br>
Ekei tha fanei pistebo i diafora.<br>
<br>
Etoimazo to benchmark kai stelno resutls :-)<br>
<br>
O/H Christos Ricudis έγραψε:
<blockquote cite="mid441E9CEE.7030303@komodino.itc.auth.gr" type="cite">
<pre wrap="">Xristos Nikolopoulos wrote:
</pre>
<blockquote type="cite">
<pre wrap="">as valume sti lista ke tin perl an ke den ti thewrisa ipopsifio eks arxis,
logw diskolias me mysql ke logo oti den ine efkoli ws web develop language,
ine pio poli real programming language para web related
</pre>
</blockquote>
<pre wrap=""><!---->
Aporw pragmatika m'aytous pou tous aresei h PHP ALLA OXI h perl. Synh8ws
shmainei
oti den kseroun kala tipote apo ta dyo. H PHP einai sthn ousia ena
kakoftiagmeno perl
clone. Exei daneistei to syntaktiko kai ola ta xrhsima features ths
katey8eian apo thn
perl - se tetoio ba8mo pou wres wres se kanei na aporeis gia poion
akribws logo
ftiaxthke, pws skata ta kataferan na th ftiaksoun la8os, kai giati sto
diaolo katafere na
apokthsei toso popularity.
Opoios kserei perl, kserei php.
Opoios kserei php kai exei IQ anw tou 20 - dystyxws ayto eksairei th
megalh maza twn web
developers - mporei na grapsei perl mesa se 15 lepta.
To mono pleonekthma poy briskw sthn PHP einai to gegonos oti einai pio
self-contained apo thn
perl - ena sygkekrimeno PHP build koubalaei ta panta mesa se ena sxetika
mikro executable, enw
h perl synh8ws apaitei kai miso tono perlies sto /usr/lib/perl/. Ayto
thn kanei arketa kalh gia xrhsh
se embedded environments - polles fores xrhsimopoiw php se embedded
projects ws generic
scripting language.
Ayto poy akouw polles fores : "h php einai 'grhgorh' enw h perl 'argh'",
peran ths aploikothtas tou
epixeirhmatos, oute kan epifaneiakws den katafernei na me peisei :
komodino:[ricudis]/tmp/lala$ time perl fib30.pl
1346269
real 0m2.907s
user 0m2.844s
sys 0m0.044s
komodino:[ricudis]/tmp/lala$ time php fib30d.php
1346269
real 0m4.181s
user 0m4.116s
sys 0m0.016s
</pre>
</blockquote>
</body>
</html>