[development] why locale import is slow and a memory eater?

Gerhard Killesreiter gerhard at killesreiter.de
Fri Dec 30 23:32:02 UTC 2005


Gabor Hojtsy wrote:

> If the SQL changes are made incrementally, then the PO file would
>end up half-imported. Question is if it is a problem or not. I think
>this is a minor problem, since you are supposed to upload a translation
>which you are about to use, so if your po file is broken it is not a
>problem that it is half imported, you should fix and try again.
>
>  
>

I agree, the problem is minor. We could add a test to the packaging 
script and not create tarballs for broken PO files (not sure we 
currently do that).

Cheers,
    Gerhard

>I cannot provide an estimate on when will I have the time to work on
>this, but the file reading methods seem to be perfect low hanging fruit,
>even if the more direct SQL import is a bit more time to do. Let us
>clear up first that the incremental SQL import is sufficient.
>
>BTW first to upload files on a hosted environment, this
>open_basedir compatibility patch needs to get it:
>http://drupal.org/node/5961
>
>Happy New Year everybody,
>Gabor
>
>
>  
>



More information about the development mailing list