Multiplexer connection to inverting amplifier

I have ADG1608 multiplexer chip used as programmable amplifier in circuit 'A' an circuit 'B' below. Besides having different capacitance between on and off condition of the D and S pin of the multiplexer, what else should I consider to use one circuit rather than the other for better stability performance? Thank you.

clarify the question
[edited by: Joshar at 4:22 PM (GMT -4) on 27 Jun 2021]