Skip to content

Conversation

@miscco
Copy link
Contributor

@miscco miscco commented Dec 28, 2020

Found by accident. Added some tests for the copy/move code pathes.

@miscco miscco requested a review from a team as a code owner December 28, 2020 20:14
@miscco miscco force-pushed the fix_uninitialized_move branch from c0d8bcc to 3f57e85 Compare December 28, 2020 22:08
@StephanTLavavej StephanTLavavej changed the title Fix uninitialized_meow memcopy optimization Fix uninitialized_meow memcpy optimization Jan 5, 2021
@StephanTLavavej StephanTLavavej added the bug Something isn't working label Jan 5, 2021
@StephanTLavavej
Copy link
Member

It looks like the bug being fixed here is that the code was simply failing to compile - is that correct?

@StephanTLavavej StephanTLavavej self-assigned this Jan 6, 2021
@miscco
Copy link
Contributor Author

miscco commented Jan 7, 2021

Yes indeed

@miscco
Copy link
Contributor Author

miscco commented Jan 8, 2021

Urgh, this is more broken than I thought. I need to add way more tests for ranges of different length.

Also the uninitialized_meow_n algorithms are broken for the optimization, as we forget to update the input iterator.

@miscco miscco force-pushed the fix_uninitialized_move branch from 6876e51 to e1f1a9b Compare January 8, 2021 19:07
@miscco
Copy link
Contributor Author

miscco commented Jan 8, 2021

Fixed more bugs and added more tests

@miscco miscco force-pushed the fix_uninitialized_move branch from e1f1a9b to 43fa0b5 Compare January 23, 2021 12:28
Base automatically changed from master to main January 28, 2021 00:35
@miscco miscco force-pushed the fix_uninitialized_move branch from 43fa0b5 to 342b431 Compare February 12, 2021 20:35
@StephanTLavavej StephanTLavavej removed their assignment Feb 12, 2021
@CaseyCarter CaseyCarter self-assigned this Feb 12, 2021
@miscco miscco force-pushed the fix_uninitialized_move branch from d9f5940 to fe9e00e Compare February 13, 2021 10:10
@miscco miscco force-pushed the fix_uninitialized_move branch from fe9e00e to d5025c3 Compare February 13, 2021 10:11
@StephanTLavavej StephanTLavavej removed their assignment Feb 18, 2021
@StephanTLavavej StephanTLavavej self-assigned this Feb 18, 2021
@StephanTLavavej StephanTLavavej merged commit 2867841 into microsoft:main Feb 18, 2021
@StephanTLavavej
Copy link
Member

uninitialized_purr!

(That's Cat for "Thanks for fixing this bug in uninitialized_meow!) 😻

@miscco miscco deleted the fix_uninitialized_move branch February 18, 2021 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants