[nylug-talk] Send a set really fast
Michael Bacarella
mbac at netgraft.com
Sat May 5 15:39:40 EDT 2007
> > My inclination is to look for the Python equivalent of
> > what I would do in C, write() and read() an array
> > over the socket since all hosts run the same architecture.
> >
> > I thought (c)pickle/unpickle might be the equivalent but
> > they aren't, they're approximately as slow as split.
> Can I assume:
> a and b's response is a string
> this string contains a comma-seperated list on integers
> that is not sorted
> and of unknown length
> The data sounds like it would not be considered sensitive.
> Could you post a simple aset and bset?
Comma delimited list of integers.
http://m.bacarella.com/aset.txt.gz
http://m.bacarella.com/bset.txt.gz
Pretty unexciting.
More information about the nylug-talk
mailing list