Call Function.get per bunch of cache size
As the Function field is instantiating the ids
received and that most of them will access common (or loaded together) attributes from these instances, it is better to use a list of the size of the cache so different call will reuse the same cache. Otherwise on larger list, the cache will be dropped between successive calls.