|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
newbie doubts
Hi there!
Where and how can I post de the files for the contest? there's a way to write de memory usage by php in a giving time? thanks. I'm from Brazil, there's some one from there here? |
|
#2
|
||||
|
||||
|
RE: newbie doubts
Quote:
This was on the php coding contest page. |
|
#3
|
|||
|
|||
|
RE: newbie doubts
thanks tkarkkainen!
the limit amount of memory for each script to 32 megs. There's a function that give-me the amount of memory usage? Use of CLASS is slower than use only alone functions? sorry if it's sound stupid...and sorry my poor english. |
|
#4
|
|||
|
|||
|
RE: newbie doubts
>the limit amount of memory for each script to 32 megs. There's a function that give-me the amount of memory usage?
If you use Windows, use the task manager. This is what I did on the previous contest. Take the APACHE.EXE process at the beginning, and verify that it doesn't grow more than 32Mb. >Use of CLASS is slower than use only alone functions? I read that classes were slow. In the current contest, it's recommended that you avoid classes and bidimensional arrays. >sorry if it's sound stupid...and sorry my poor english. Stop complaining about your english ! We all began one day. BTW, your english is perfectly readable :-) JC |
|
#5
|
|||
|
|||
|
RE: newbie doubts
"
I read that classes were slow. In the current contest, it's recommended that you avoid classes and bidimensional arrays. " This is the problem with PHP; an elegant solution is not recommended because PHP is not yet a mature enough language to handle such features quickly. On the other hand, I no longer shy away from OOP because I saw the freecell winner used OOP, and I had attempted to do freecell without OOP and it became a NIGHTMARE! |
|
#6
|
|||
|
|||
|
RE: newbie doubts
Thanks folks!
I´m really enjoing the contest! I love programming, and I´ll keep using OOP, I´m just participating for fun!!! |
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > newbie doubts |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|