[PATCH] Speed up find_loc_in_1pdv (PR debug/41371)
Alexandre Oliva
aoliva@redhat.com
Thu Jun 10 17:34:00 GMT 2010
On Jun 10, 2010, Richard Guenther <rguenther@suse.de> wrote:
> There's some odd spacing here:
> + dv = dv_from_value (node->loc);
> + rvar = (variable) htab_find_with_hash (vars, dv,
> dv_htab_hash (dv));
Thanks, fixed.
> Ok for trunk and the branch.
Here's the patch I installed, with an additional comment.
> Do you have updated timings for the testcases in the PR?
No, I haven't measured the timing difference.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vta-find-loc-tail-recurse-pr41371.patch
Type: text/x-diff
Size: 5286 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100610/ab207c06/attachment.bin>
-------------- next part --------------
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer
More information about the Gcc-patches
mailing list