Hi guys, I have created a pure python module [1] to work with
memcached in binary protocol with SASL authentication.
I need some contributors or people to discuss some idead about it,
anyone is free to contact me, any help will be appreciated.
Thank You
Jayson Reis
[1] https://github.com/jaysonsan
Hello people, I'm writing a Bitmap parser for study purposes, however
when I parse a bitmap file and when I paint that file in a window, the
script take to much time.
How can I optimize my script loops to be faster ?
Here is the script
http://pastebin.com/m652b8d65
Best Regards
Jayson Reis
--
ht
On 16 fev, 18:29, bearophileh...@lycos.com wrote:
> Jayson Santos:
>
> > Hello people, I'm writing a Bitmap parser for study purposes,
>
> This code:
>
> x = 0
> y = 0
> for line in bmp.bitmap_lines.lines:
>
On 16 fev, 20:41, bearophileh...@lycos.com wrote:
> Jayson Santos:
>
> > Here is the new code using your changeshttp://pastebin.com/m6dfe619d
> > And here is the profilerhttp://pastebin.com/m74d282b8
>
> I have suggested you to profile the program mostly for pedagogical
On 16 fev, 21:47, bearophileh...@lycos.com wrote:
> Jayson Santos:
>
> > Do I need use some patters or others progamming conventions ?
>
> That's a strong question...
> Knowing OOP well is important, and it's often a good way to program,
> etc. But... You
On 17 fev, 14:00, bearophileh...@lycos.com wrote:
> Jayson Santos:
>
> > After changing my code to use only functions instead classes
> > my code is too much faster.
> > Here cProfile statistcs:
> > Using old code : 633608 function calls in 1.361 CPU seconds
>