!feat: change zip underlying implementation#28
Conversation
This simplifies the protocol requirements for DifferentiableSequence but breaks the previous api (people shouldn't have adopted the protocol but it can't be kept internal). The change enables us to conform StencilCollection to DifferentiableCollection.
You mean the change from Nit: switch the order of the arguments to match |
Oh great suggestion!
I'm not sure what you're referencing here exactly. Could you elaborate? |
The type signature for func initializeElement(
at index: UnsafeMutableBufferPointer<Element>.Index,
to value: consuming Element
) |
This simplifies the protocol requirements for DifferentiableSequence but breaks the previous api (people shouldn't have adopted the protocol but it can't be kept internal). The change enables us to conform StencilCollection to DifferentiableCollection.