[google-appengine] Re: key name (String) vs key id (long) performance

2009-06-11 Thread Rodrigo Moraes
On Thu, Jun 11, 2009 at 2:19 PM, cryb wrote: Is there an official position / benchmark about what type of keys issue the best performance as for queries? Are key ids (long) being looked up faster than key names (string) - assuming that both have comparable sizes in bytes? There's no

[google-appengine] Re: key name (String) vs key id (long) performance

2009-06-11 Thread cryb
Hi Rodrigo.. Indeed, what you said is correct... however, bigtable internals can use different optimizations/lookup algorithms/key structure representation for different key types like key ids and key names (even if their logical structure appears to be identical)... Please note that I don't say

[google-appengine] Re: key name (String) vs key id (long) performance

2009-06-11 Thread Rodrigo Moraes
On Thu, Jun 11, 2009 at 4:52 PM, cryb wrote: Hi Rodrigo.. Indeed, what you said is correct... however, bigtable internals can use different optimizations/lookup algorithms/key structure representation for different key types like key ids and key names (even if their logical structure appears