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

Fix object tracking on load #13

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

Conversation

mdellweg
Copy link

fixes #11

@mdellweg
Copy link
Author

Hmm, this is not it.
I now suspect that the dump was created before ruby 1.9 and encoded strings as bare bytes.

The instance var modifier is handeld differently now. It is not treated
as an object containing other stuff, but merely as a decorator telling
the adjacent object to also process instance variables. Strings are now
assigned an object id directly.

fixes d9pouces#11
@mdellweg mdellweg marked this pull request as ready for review February 9, 2025 18:56
@mdellweg
Copy link
Author

mdellweg commented Feb 9, 2025

@d9pouces After some heavy debugging... I think i got it now. The documentation is really not nice to read. Specifically the information that object counting starts a 1 is really incomplete and misleading (according to my analysis).

Thank you sooo much for maintaining this library.

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.

list index out of range
1 participant