How to check two `Array` instances for identity equality in constant time?

How does one add new fields to struct Customer inside a running Swift app? Can I somehow do that in a loop?

Why does it matter? I can make a change (add a number of fields, change the constant, etc) recompile the app and run it again. If I’m so inclined to automate it I could write a script that will do that for me. Things like these are not important for O-big notation analysis.

1 Like