Hi Derrell,
yesterday I had a look at 0.7.3, but this issue wasn't changed in php
backend.
I strongly recommend to replace the last line in the php backend (index.php)
with this:
if (function_exists("json_encode")) {
SendReply(json_encode($ret), $scriptTransportId);
} else {
SendReply($json->encode($ret), $scriptTransportId);
}
If you don't believe me, please try yourself to get a bunch of string data
from server, e.g. for a larger treevirtual and compare both versions.
Derrell Lipman wrote:
>
> On Nov 21, 2007 11:38 AM, westor <[EMAIL PROTECTED]> wrote:
>>
>> The encoding of json is very slow, especially if you have a plenty of
>> strings.
>>
>> As I know, since php 5.2 there is json support build in. So replaced the
>> above line with the following call:
>> SendReply(json_encode($ret), $scriptTransportId);
>
> Excellent! I'm currently heavily involved in some non-qooxdoo work
> but have a small list of things to incorporate in qooxdoo RPC-related
> code when I return to it in December. I've added this to the list.
>
> Thanks!
>
> Derrell
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://www.nabble.com/significant-speed-acceleration-for-remote-requests-tp13880905p15868115.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel