W3C home > Mailing lists > Public > public-exi@w3.org > May 2008

RE: [EXI] Local Table miss and Global table hit

From: santhanakrishnan <santhana@huawei.com>
Date: Thu, 29 May 2008 11:28:32 +0530
To: products@agiledelta.com, public-exi@w3.org
Message-id: <003301c8c151$076488c0$4a18120a@china.huawei.com>
Hi John,

    Thank you very much for your response. I guess I was not clear enough in
my question. Consider the below case.

<product>"Hello"<product/>

<material>"Hello"<material/>

....

<material>"Hello"<material/>

<material>"Hello"<material/>

<material>"Hello"<material/>

 

In this case while processing the <product> element we add "Hello" value to
Local Table of <product> and the global table. While processing <material>
element we hit the "Hello" value from the global table. This case of a value
hit from the global table and not present in the local table of the element
is not dealt anywhere in the standard. 

In this case if we add the value "Hello" to the Local Table of <material>
element then it would help indeed in processing efficiency. Supposing there
are more occurrences of <material> element subsequently then each time we
need not miss in the local table of <material> and hit in the global table.
Also it will help in encoding the compact id in lesser number of bits. 

Or inline with your response am I missing any other point where processing
efficiency is affected with this kind of approach?

 

Regards

Santhanakrishnan

 

  _____  

From: Efficient XML Team [mailto:products@agiledelta.com] 
Sent: Wednesday, May 28, 2008 10:52 PM
To: santhana@huawei.com; public-exi@w3.org
Subject: RE: [EXI] Local Table miss and Global table hit

 

Hi Santhanakrishnan,

 

No. Each value in the global table occurs in one and only one local table.
This is an intentional optimization to increase space efficiency and
processing efficiency.

 

    Hope this helps!,

 

    John

 


  _____  


From: public-exi-request@w3.org [mailto:public-exi-request@w3.org] On Behalf
Of santhanakrishnan
Sent: Tuesday, May 27, 2008 6:57 AM
To: public-exi@w3.org
Subject: [EXI] Local Table miss and Global table hit

Hi experts

       What is a value is hit from the global value table and not present in
the local value table of that qname. Can we add the value to the local value
table in this case?

Regards

Santhanakrishnan

 

 
Received on Thursday, 29 May 2008 05:59:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:52:42 UTC