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

Reflection-less Index generation [Upto 70% improvement in performance] #395

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

yasirmhd
Copy link

While generating the Subscriber indices there is an opportunity to do away with reflection.

Using the interface SubscriberMethodInvoker anonymous classes are generated which access the public methods of the class directly.

Older implementation :

image

New Implementation :

image

@yasirmhd
Copy link
Author

@greenrobot-team : The build seems to be failing with 1 lint issue though it passes for me. We have tried to fix the build breakage on the master here with these fixes as well. We do not have access to the travis logs for lint warnings for us to be able to action it.

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

Successfully merging this pull request may close these issues.

3 participants