2007/12/4, Gregory Beaver <[EMAIL PROTECTED]>:
>
> Martin Alterisio wrote:
> > 1) Why is performance relevant to whether namespaces are implemented one
> per
> > file or many per file?
>
> Because there is a performance difference between code in separate files
> and the same code in a single file.
>
> [snip]


As I said to Roman: Sorry but that still doesn't answer my question. That
answer the question of "why use bundling?".

Also, what you exposed shows that the bundling process that you're currently
using needs to be updated to take in consideration the inclusion of
namespaces in PHP.


> 2) I was under the impression namespaces were introduced to improve code
> > maintainability. Was I wrong?
>
> You are right.  On the flip side, if you can't use your maintainable
> code because it is slow as molasses, that is a problem.


If that's the case, and if it was my problem, I'll be facing two
possibilities:
1) I've chosen the wrong language or platform for this app
2) I did a really poor design of the app where I either never took
performance into consideration, or my performance estimates where completely
wrong.

Reply via email to