-
Notifications
You must be signed in to change notification settings - Fork 10
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
Make the IRanges() constructor compatible with ALTREP #18
Comments
Sure. Not duplicating the user input when it doesn't need to be modified sounds like a good general principle anyway, even without ALTREP in the picture. I will suggest a slightly different implementation though. I'm not a big fan of the |
Hi Jiefei, This is done in IRanges 2.19.12: 6eb40e6 Note the two-pass approach. The idea is to do a first pass in order to:
With this version of IRanges:
Let me know how that works in the ALTREP context. H. |
Hi @hpages , From our discussion last week, we can make use of ALTREP if the code can operate on SEXPs instead of data pointers. Would you like me to apply these changes and make a pull request? I will preserve the code structure as possible as I can. Best, |
Sounds good Jiefei. Thanks! |
(Moving this from the devteam-bioc Slack to GitHub)
Jiefei wrote on Slack:
The text was updated successfully, but these errors were encountered: