mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-16 23:14:36 +00:00
Small optimization hinted by profiling
* include/abg-diff-utils.h (d_path_vec::max_d): Avoid using member functions. This is relevant only when compiling w/o optimization. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
de342efd76
commit
ef94728513
@ -545,7 +545,7 @@ public:
|
||||
|
||||
unsigned
|
||||
max_d() const
|
||||
{return a_size() + b_size();}
|
||||
{return a_size_ + b_size_;}
|
||||
|
||||
unsigned
|
||||
offset() const
|
||||
|
Loading…
Reference in New Issue
Block a user