You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the difference will be marginal, so it might be better to measure it and then on the wiki we should recommend the option better for each use. It might be that in application with more than 10 entities it would be a large difference, so we would recommend the Model$.create() approach and for less entities users might like to use the Model.class because it's more straightforward and better for refactoring.
We should test performance difference between registering entity classes using these possibilities:
TorchService.with(this).register(Model.class);
TorchService.with(this).register(Model$.create());
This should show which method is the best for registering and update wiki with the best one.
The text was updated successfully, but these errors were encountered: