Message-ID: <SL2P216MB1561B2FC1E68A2ADC116E3A9C8809@SL2P216MB1561.KORP216.PROD.OUTLOOK.COM>
Date: 2022-07-06T16:29:28Z
From: akshay kulkarni
Subject: byte coding compiling.....
Dear members,
I am using pbmclapply, the progress bar version of mclapply, from the parallel package. The point is, pbmclapply is three times faster than mclapply, and I think the most probable reason would be that pbmclapply is byte code compiled (I can think of no other reason).
I know the cmpfun function from compiler package. If I do:
> cmpfun(mclapply)
will the job be done? The point is mclapply may look for other functions in the parallel package. So I have to compile the whole package right? How do you do that? or in general, how do you byte code compile a whole package?
Thanking you,
Yours sincerely,
AKSHAY M KULKARNI
[[alternative HTML version deleted]]