anonymous
anonymous
Thank you @dlech. I am not very clear about the extra memory allocation. Would you like to explain why there is extra memory allocation? Is it slice or something? >...
Thank you. Yes, however, when I test it, the print is weird, it shows no difference about memory usage. ``` from memory_profiler import profile @profile def print_arg(*arg): print(*arg) # instantiating...
Thank you. However, I am a little confused because when I set breakpoints for the two lines of code (`arg=print_arg_1(*a[0:10:1])` in line 17 and `arg2=print_arg_1(a[0], a[1], a[2], a[3], a[4], a[5],...
Okay, I remove the `global_perms = set()`.
Is there someone who would like to review my pr?
Is there someone who would like to review my pr? It maybe more concise and more clear to maintain repository.
Thanks for your comments. Because we find that many developers want to make their code more pythonic. And we find that many books (e.g., writing idiomatic Python) also give some...
Thanks for your reminder.