Closed qmuntal closed 10 months ago
@k-raval can you check if these changes improves your performance issues with stateRepresentation.findHandler
?
Thanks @qmuntal , your fix is working as expected. Performance in terms of number of object allocations have come down.
The current implementation of
stateRepresentation.findHandler
is overcomplicated and allocates too much.This PR simplifies it, making it more performant, both in terms of memory allocations and complexity.
Fixes #64