allewwaly / pdbparse

Automatically exported from code.google.com/p/pdbparse
1 stars 0 forks source link

[PATCH] speed improvement for omap.remap #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
omap.remap can be quite slow, because it regenerates the from list on every
call. The attached patch creates a class to cache the fromlist, improving
speed considerably. On my system, the patch reduced the running time for
"print_gvars.py ntoskrnl.pdb" from 4 minutes 45 seconds to 9 seconds.

Thanks for putting this library together, by the way.

Original issue reported on code.google.com by Brendan....@gmail.com on 10 Jun 2009 at 5:45

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by Brendan....@gmail.com on 10 Jun 2009 at 5:52

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by moo...@gmail.com on 19 Aug 2010 at 12:24

GoogleCodeExporter commented 9 years ago
I've merged in this patch. Thanks for the contribution!

Original comment by moo...@gmail.com on 19 Aug 2010 at 3:02