[PATCH v2 0/3] some attr optimizations
- From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
- Date
- Dec 27, 2014, 23:39 UTC
- Message-ID
- <1419723588-13236-1-git-send-email-pclouds@gmail.com>
- In-Reply-To
- <1418133205-18213-1-git-send-email-pclouds@gmail.com>
v2 updates 01/03 (rename the local var to avoid shadowing instead) and merges 02/04 and 04/04 to 03/03.
Nguyễn Thái Ngọc Duy (3): attr.c: rename arg name attr_nr to avoid shadowing the global one attr: do not attempt to expand when we know it's not a macro attr: avoid heavy work when we know the specified attr is not defined
attr.c | 47 +++++++++++++++++++++++++++++++++++++---------- 1 file changed, 37 insertions(+), 10 deletions(-)
-- 2.2.0.84.ge9c7a8a