Hi,

In an effort to squeeze the very last bit of performance from AppEngine I'm
moving the our application to use getDatastoreService().get(List<Key>) type
of fetch operations instead of current implementation which uses Query
& SortDirection.
This leads to to having to sort in memory, which is fine because the result
set is relatively small results and is cached after initial fetch.

Question is how to do the in memory sort "elegantly", should I go with
Arrays.sort(T[] a, Comparator<? super T>) or do you know some lightweight
framework that is build specifically for
these purposes (think collations sorting order) ?
I would appreciate example or two for code that does multiple property
sorting with DataStore objects.

Thank you,
Maxim.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to