PMXBOT Log file Viewer

Help | Karma | Search:

#pil logs for Friday the 14th of February, 2014

(Back to #pil overview) (Back to channel listing) (Animate logs)
[02:59:05] <wiredfool> What did you wind up doing? And roughly how's the performance?
[10:19:54] <aclark> man the google-melange UI sucks…
[15:12:07] <matt__> wiredfool: I ended up doing something like
[15:12:16] <matt__> img = Image.new('RGB', (100, 100)
[15:12:17] <matt__> drw = ImageDraw.Draw(img, 'RGBA')
[15:12:56] <matt__> And that worked for drawing overlapping polygons like I expected.
[15:13:12] <matt__> Its at least 10x faster.
[15:14:04] <matt__> As apposed to drawing multiple images and compositing them.
[15:15:47] <matt__> For drawing thousands of polygons on ~100 images it went from > 1.5s to < 200ms.
[17:08:06] <wiredfool> ok, good to know
[17:10:58] <wiredfool> aclark: yep. I'm not impressed. some confirmation that I'd actually managed to make a profile and that the little text wasn't just line by line 'yr doin it wrong' would ahve been nice