user259349
user259349

Reputation: 143

Is fetching an object by String key be faster than a Key key? (GAE/J)

Thats pretty much the question. Are there any other concerns i should be aware of?

Upvotes: 2

Views: 86

Answers (2)

Nick Johnson
Nick Johnson

Reputation: 101149

No. Fetching by key is faster than querying, but it doesn't matter what form the key is in.

Upvotes: 1

Romain Hippeau
Romain Hippeau

Reputation: 24375

The only criteria in the documentation that I can find is on whether to use non-Key or Key is whether you have Entity Relations. If you do use Keys.

Upvotes: 0

Related Questions