Skip to content

improve read/write performance by 100% #4150

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

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

Conversation

steven1327
Copy link

Summary:
previously we access index at idx through "indices[idx]". This is very slow.
Instead, we can use data_ptr which proves to be faster.

Reviewed By: emlin

Differential Revision: D74775917

Summary:
previously we access index at idx through "indices[idx]". This is very slow.
Instead, we can use data_ptr which proves to be faster.

Reviewed By: emlin

Differential Revision: D74775917
Copy link

netlify bot commented May 19, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 462c47b
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-fbgemm-docs/deploys/682b8a13aeab6b000850b12b
😎 Deploy Preview https://deploy-preview-4150--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74775917

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

Successfully merging this pull request may close these issues.

2 participants