Open GoogleCodeExporter opened 9 years ago
awesome! can you post some speed tests? we'll test and put in if it works as
expected. We're doing a bunch of stuff next month.
thanks!
Toby
Original comment by tobyro...@gmail.com
on 16 Sep 2014 at 6:03
$ for i in {0..100000}; do echo $i; done > /tmp/numbers
$ time cat numbers | pyp "len(pp)"
100001
real 1m27.045s
user 1m26.166s
sys 0m0.606s
(AFTER CODE PATCH)
$ time cat numbers | pyp "len(pp)"
100001
real 0m0.927s
user 0m0.871s
sys 0m0.050s
Best
C
Original comment by deepbit
on 16 Sep 2014 at 9:12
Because I haven't written complex PYP commands I am not sure wether the patch
is completely bug free but I am pretty sure you can test it quickly.
Best
C
Original comment by deepbit
on 16 Sep 2014 at 9:15
wow, truly impressive...100 times faster. We'll test this and get back with
you.
thanks again!
t
Original comment by tobyro...@gmail.com
on 16 Sep 2014 at 9:23
testing this now. looks ok so far...going to release a big update to pyp
including this...do you have any further revisions?
thanks!
toby
Original comment by tobyro...@gmail.com
on 7 Feb 2015 at 12:17
it looks like this works great for lists...increase speed by 100x...line by
line speed is still the same...let me know if you have any ideas...
cheers,
toby
Original comment by tobyro...@gmail.com
on 7 Feb 2015 at 1:09
here is the latest if interested. pretty close to releasing it.
Original comment by tobyro...@gmail.com
on 7 Feb 2015 at 1:45
Attachments:
Original issue reported on code.google.com by
deepbit
on 16 Sep 2014 at 5:33