Get updates of inputs in dash

Hi here,
I have some inputs in my dash-App.
I use dcc.Store to save the entries in inputs as dictionnary. e.g.

dcc.Store(id='old_data') 
@app.callback(
Output('old_data', 'data'),
[#here my inputs
]
)
def funtion(#here my inputs):
      old_data = {'time':'input1', ect...}

I want to do some optimizations in my callbacks depending on what dash Inputs has changed from the previous call
How can i get new_entries from my inputs and compare these with the old?
Is there a way to go?

Could you clarify a little bit what you mean by optimizations?

How can i get new_entries from my inputs and compare these with the old?

You will get the updated values (“new entries”) every time an input change. Now, if you need to compare to the previous values in the old_data store, then just add State("old_data", "data") to the callback and compare the old dictionary with the new inputs.