[Numpy-discussion] How recreated a integer list with a generator?
Sat Feb 26 07:41:49 CST 2011
How recreated a integer list with generator?
tmp = 
for x in range(0,600):
tmp = list(set(tmp))
Should be possible recreated this list using same magic math formula
or numpy array?
Can I create a generator? How?
What is my target?
I need store this list im my database, the list itself get big size
(resources) so I want save resources and save the generator object
Is it possible?
What I have:
size = len(tmp)
min = tmp
max = tmp[-1]
All numbers are integer and it is a random serie so each list will
have your own generator.
Again tmp is a static list and must be recreated with a generator the
target is pickle the generator to be smaller than the list itself.
More information about the NumPy-Discussion