Skip to content

Small change to c_unpack function #16

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

Merged
merged 2 commits into from
Jan 16, 2025
Merged

Conversation

Image for: Conversation
Copy link
Contributor

No description provided.

Copy link
Owner

Wow. That is impressive. I slept on a PR for over six years. Ouch.

Do you recall why raw was better? Did you have some message not fitting into a plain C++ vectors?

Copy link
Contributor Author

Wow I had forgotten about this too!

The reason was to avoid an unnecessary copy to std::vector.

Copy link
Owner

So from eyeball test still valid?

As an aside, trying to update at CRAN (to get rid of stale 'do not set C++11 unless needed' the package published there has) I ran into R CMD check nagging over 'do use compare class(x) == value but use inherits()' so I pushed a commit. If you have a second, glance at it.

Otherwise I think the package is now ... mostly unused but will look into the merge (with a big fat mea culpa for taking over half a decade, shame on me) and an update at CRAN just to have a clean(er) sheet. I presume that is ok with you?

Copy link
Contributor Author

The commit looks good to me, and yes I think using RawVector over std::vector still makes sense.

eddelbuettel merged commit 21eddf4 into eddelbuettel:master Jan 16, 2025
Copy link
Owner

I'll put a ChangeLog in for you but date it to today. maybe with a note that is was from way-back-when.

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