Open NanXiao opened 5 years ago
Hello @NanXiao 👋
Right off the bat, I don't remember why it's written this way. If you replace the existing code by your suggestion, do all the tests still pass?
@gpakosz
Thanks very much for your quick response!
I modify the code, and at least PackedArraySelfTest
passes the tests.
When you have time, could you double-check?
Thanks!
@NanXiao
I had a second quick look. I can't remember why it's written this way but your suggestion looks good to me. I may have goofed the night I wrote the original code 🤷♂️
Hi @gpakosz ,
Greeting from me!
I am reading
PackedArray
's code, and come across the following statement:Why not just use:
What is the difference between these two methods?
Thanks very much in advance!
Bets Regards Nan Xiao