Re: [PHP] performance criteria on DEFINE()

2006-04-22 Thread tedd
At 3:47 PM -0500 4/21/06, Richard Lynch wrote: On Fri, April 21, 2006 7:52 am, Jochem Maas wrote: Andy wrote: Now, one of this file can contain more than 2000 defines and we make a calculation that we will reach 8000 in 2 years. Seems to me you could extend your testing to generate 8000 co

Re: [PHP] performance criteria on DEFINE()

2006-04-21 Thread Richard Lynch
On Fri, April 21, 2006 7:52 am, Jochem Maas wrote: > Andy wrote: >> Now, one of this file can contain more than 2000 defines and we make >> a calculation that we will reach 8000 in 2 years. Seems to me you could extend your testing to generate 8000 constants in a file pretty easily, and just bench

Re: [PHP] performance criteria on DEFINE()

2006-04-21 Thread Andy
ent: Friday, April 21, 2006 3:52 PM Subject: Re: [PHP] performance criteria on DEFINE() Andy wrote: Hi, We have a big multilanguage project. For a while we used gettext to translate the pages, but we gave up on this because of many problems. Out solution is to create a file for each lan

Re: [PHP] performance criteria on DEFINE()

2006-04-21 Thread Jochem Maas
Andy wrote: Hi, We have a big multilanguage project. For a while we used gettext to translate the pages, but we gave up on this because of many problems. Out solution is to create a file for each language which includes the "label" definitions. for ex: define("LABEL1", "label 1"); define(

[PHP] performance criteria on DEFINE()

2006-04-21 Thread Andy
Hi, We have a big multilanguage project. For a while we used gettext to translate the pages, but we gave up on this because of many problems. Out solution is to create a file for each language which includes the "label" definitions. for ex: define("LABEL1", "label 1"); define("LABEL2", "l