Skip to content

IndexListSlow: fix index comparison & assignment - #6

Open
sciecode wants to merge 1 commit into
mmikk:masterfrom
sciecode:master
Open

sciecode wants to merge 1 commit into
mmikk:masterfrom
sciecode:master

Conversation

@sciecode

@sciecode sciecode commented Jul 20, 2024 •

Copy link
Copy Markdown

I was studying the code and noticed that the IndexListSlow generation code didn't work as expected. The index being used to compare was never recorded and as such the index list would be generated entirely with -1, which isn't valid.

I'm fairly certain this code isn't used much, if at all. Otherwise others would've complained.
Especially because malloc fails are very rare on modern systems.
Still, better to have it working if the necessity arises.

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.

1 participant