Skip to content

Conversation

@zherczeg
Copy link
Member

8K binary save (164K -> 156K), a small slowdown (1%). I think 8K worth it.

lowercase_name) \
ecma_builtin_ ## lowercase_name ## _property_descriptor_list,
#include "ecma-builtins.inc.h"
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need #undef BUILTIN here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is part of ecma-builtins.inc.h

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@LaszloLango LaszloLango added enhancement An improvement binary size Affects binary size ecma builtins Related to ECMA built-in routines labels Jun 17, 2016
@zherczeg
Copy link
Member Author

Patch updated.

@LaszloLango
Copy link
Contributor

LGTM

@zherczeg zherczeg force-pushed the lazy_enum_opt branch 2 times, most recently from 0563438 to e16a358 Compare June 17, 2016 11:38
@dbatyai
Copy link
Member

dbatyai commented Jun 17, 2016

LGTM

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
@zherczeg zherczeg merged commit 37ebd20 into jerryscript-project:master Jun 17, 2016
@zherczeg zherczeg deleted the lazy_enum_opt branch June 17, 2016 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

binary size Affects binary size ecma builtins Related to ECMA built-in routines enhancement An improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants