Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Hand-Made JS OO Code with default ES-Syntax #161

Closed
mirkosertic opened this issue Jun 14, 2019 · 5 comments
Closed

Replace Hand-Made JS OO Code with default ES-Syntax #161

mirkosertic opened this issue Jun 14, 2019 · 5 comments

Comments

@mirkosertic
Copy link
Owner

No description provided.

@mirkosertic mirkosertic self-assigned this Jun 14, 2019
mirkosertic added a commit that referenced this issue Jun 21, 2019
First implementation for class hierarchy topologic ordering
@mirkosertic
Copy link
Owner Author

I added a JSPerf for performance measurement here: https://jsperf.com/instance-vs-prototype-properties

@mirkosertic
Copy link
Owner Author

Another JSPerf test:

https://jsperf.com/bytecoder-vs-es5-class

@mirkosertic
Copy link
Owner Author

Latest revision of perftest:

https://jsperf.com/bytecoder-vs-es5-class/4

@mirkosertic
Copy link
Owner Author

mirkosertic commented Jun 25, 2019

Code size before latest changes:

JBox2D Demo: JS 1.286.520 bytes
Lua Demo JS 1.465.296 bytes

Code size after latest changes:

JBox2D Demo: JS 1.344.389 bytes
Lua Demo JS 1.388.055 bytes

@mirkosertic
Copy link
Owner Author

Merged to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant