Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
J2V8 Result
# Pros - With AndroidJSCore there was a problem with emoji support and couldn’t do anything about it since it’s a low level thing. So previously we used to just “censor” out unicode characters. J2V8 supports emojis (unicode) right out of the box! - Smaller APK size than AndroidJSCore => Just tried building a signed APK => It’d 9.8MB. Note that it’s larger than Duktape. - No problem with regular expressions => This was the top reason I decided to try J2V8, because Duktape wasn’t able to parse some JS function calls at all due to its strict regular expression engine # Cons - Not much except that it’s larger than Duktape (9.8MB). # Conclusion 9.8MB is still a significant improvement from 40MB, not to mention: 1. Performance improvement; 2. Unicode support Kind of leaning towards J2V8 unless there’s something I’m missing.
- Loading branch information