librelist archives

« back to archive

rookie questions

rookie questions

From:
Hanan Shteingart
Date:
2015-04-11 @ 15:45
Hi Joblibers,
I have two newbie questions:

1. how do I (can I?!) combine parallel job and caching? I tried but it
seems not to work well (computation takes place). I just surrounded my
function with mem.cahce. Moreover, what does the "delay" keyword mean?

2. I seem to have problems in caching a class method as the signature is
parsed wrong (with self at function definition and without at function
call). What is the walk-around? Is it just making an underlying
staticmethod?

Thanks for your help!

*HS*