hazelcast / spring-data-hazelcast

Hazelcast Spring Data integration Project http://projects.spring.io/spring-data/
Apache License 2.0
84 stars 53 forks source link

Provide a hook to bypass expensive sorts using Reflection value getters #344

Open cyclopsihus opened 6 months ago

cyclopsihus commented 6 months ago

While profiling a specific a scenario, I realised a lot of time is passed to sort the cached values because of the Reflection values getters. The idea is to provide a hook to bypass the default sorting comparator that uses the Sort definition from Spring Data. I have already a solution which works for me, this is more to have a tracked Feature for the Pull request.