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

lottie: replace the jerryscript memory allocator #2250

Open
hermet opened this issue May 6, 2024 · 0 comments
Open

lottie: replace the jerryscript memory allocator #2250

hermet opened this issue May 6, 2024 · 0 comments
Labels
lottie Lottie animation optimization Enhance performance / Reduce memory usage or binary size

Comments

@hermet
Copy link
Member

hermet commented May 6, 2024

JerryScript, which is used for Lottie Expressions, has its own memory management system with 16-bit compressed addresses, which increases the binary size due to own complicated additional logic. There is an option to toggle this feature in JerryScript, but unfortunately, it doesn't work by the unstable project maintenance. We can review and clean up this feature and replace them own system memory allocators.

Probably we can start with JERRY_SYSTEM_ALLOCATOR.

@hermet hermet added optimization Enhance performance / Reduce memory usage or binary size lottie Lottie animation labels May 6, 2024
@hermet hermet changed the title lottie: replace the jerryscript memory allocator. lottie: replace the jerryscript memory allocator May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lottie Lottie animation optimization Enhance performance / Reduce memory usage or binary size
Projects
None yet
Development

No branches or pull requests

1 participant