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
Throughout the package we generally have each function that generate some fake thing make 1 of them. And then if a user wants more than 1 then they run it many times via for, replicate, apply, etc. This is probably not the fastest approach.
Maybe we make all methods accept a n parameter, with default n=1. Internally within each method we would use the fastest approach for whatever is being generated. This would add more complexity of course.
The text was updated successfully, but these errors were encountered:
First attempts to quantify speed of
charlatan. Instantiating multiple R6 classes is
slow, very visible in fraudster() which initiates
all of the providers.
Relates to #113
Throughout the package we generally have each function that generate some fake thing make 1 of them. And then if a user wants more than 1 then they run it many times via for, replicate, apply, etc. This is probably not the fastest approach.
Maybe we make all methods accept a
n
parameter, with defaultn=1
. Internally within each method we would use the fastest approach for whatever is being generated. This would add more complexity of course.The text was updated successfully, but these errors were encountered: