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

Allow raw data access on ResourceObject #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ianmurrays
Copy link

When processing large JSON responses, the repeated instantiation of objects makes this processing extremely slow. Allowing raw data access allows much faster reading of responses.

These changes allow users to skip convenience methods when all they need is the data itself.


We experienced a decrease of about 3000% in processing time when using raw data access. In our case we're using excon-hypermedia to "get to the data" by following links, but then we get to a pretty heavy endpoint where all we need is the data.

When processing large JSON responses, the repeated instantiation of
objects makes this processing extremely slow. Allowing raw data access
allows much faster reading of responses.

These changes allow users to skip convenience methods when all they need
is the data itself.
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.

1 participant