Repeating panel is slow to populate

Hi all,

I got back to trying this conversion to a dictionary for instances of a repeating panel in my app; however, even for very small repeating panels I still get quite a lag before it appears.

My server function returns only a list of dictionaries rather than rows from the data table, and yet there is still a noticeable lag before populating the repeating panel.

@anvil.server.callable
def get_list(my_search_text):

   # get list of rows from a table
   rows=app_tables.my_table.get(text=my_search_text)['links_to_another_table']
   
   # for each item in the list, make it a dictionary
   rows = [dict(x) for x in rows]

return rows

The dictionary has just two keys with a few strings as values, nothing massive, and no Anvil rows inside. The lag is about 2 seconds just by eyeballing, the spinny ball goes around a little more than once.

@meredydd, @stefano.menci have any ideas?