refactor(replica.go)

Change list.New() to list.Init() to reduce memory operations.
Modify the 'equal' condition since they are both pointers, we can compare them directly.

fmt(instance.go)