Closed fsoubelet closed 1 year ago
As reported by some users, the validation step can be very slow on large dataframes (for instance sliced FCC lattice).
In #107 the validation step was made optional. This is a first step but it would be nice for users who wish to validate to be able to do so faster.
The main culprit is is_not_finite(x) in the validate function, which is slow and applied with applymap, also very slow.
is_not_finite(x)
validate
applymap
This can be sped-up (see implementation).
Closed by #109
Feature Description
As reported by some users, the validation step can be very slow on large dataframes (for instance sliced FCC lattice).
In #107 the validation step was made optional. This is a first step but it would be nice for users who wish to validate to be able to do so faster.
Possible Implementation
The main culprit is
is_not_finite(x)
in thevalidate
function, which is slow and applied withapplymap
, also very slow.This can be sped-up (see implementation).