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

speedup in buffer processing #1

Merged
merged 1 commit into from
Feb 1, 2015
Merged

speedup in buffer processing #1

merged 1 commit into from
Feb 1, 2015

Conversation

niekt0
Copy link

@niekt0 niekt0 commented Jan 31, 2015

Using index instead of copying whole buffer result in massive speedup.
buf = buf[8:] is copying alomost whole buffer every time this construction is used.
When server send cca 2M buffer, procesing took more than 5 minutes on my machine.
With a index, whole processing take less than one second.

:)

hugsy added a commit that referenced this pull request Feb 1, 2015
nice improvement, thanks
@hugsy hugsy merged commit cd35313 into IOActive:master Feb 1, 2015
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.

2 participants