On May 21, 7:31 pm, Salvatore Sanfilippo <
anti...@gmail.com> wrote:
> On Sat, May 22, 2010 at 12:53 AM, ccollie <
gbo...@gmail.com> wrote:
> > I'm developing an object mapper using hashes, and id like to save some
> > bandwidth on fetches.
> > In other words, id prefer to perform a hkeys at the beginning of the
> > process, and use hvals in
> > subsequent calls, rather than using hgetall to map fields to values.
>
> > It would help to know whether hvals(key)[i] == hget(key, hkeys(key)
> > [i])
>
> Hello, there is no such a guarantee. Most of the times this will be
> true, but you can't depend on that behavior as it's not guaranteed.
> Note also that as long as something will with a single TCP packet
> there will be no noticeable speed diference in this context...
>
> Cheers,
> Salvatore
>
>
>
> > j
>
> > --
> > You received this message because you are subscribed to the Google Groups "Redis DB" group.
> > To post to this group, send email to
redi...@googlegroups.com.
> > To unsubscribe from this group, send email to
redis-db+u...@googlegroups.com.
> > For more options, visit this group athttp://
groups.google.com/group/redis-db?hl=en.
>
> --