I am trying to delete row from javafx table by using this code
new AnimationTimer() {
            @Override
            public void handle(long now) {
                int index = RNG.nextInt(table.getItems().size());
                table.getItems().remove(index); 
              }
        }.start();
but deletion performance is very bad.
Any suggestion on how to improve it.
EDIT: I have 48 columns