This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
-
在测例integer-divide-optimization-1.sysu.c,函数在return时,有一串很长的加法表达式,这个加法表达式是递归的总共1000层,我的程序在函数递归时,内存占用过多,这个问题有没有什么解决方案呢? |
Beta Was this translation helpful? Give feedback.
Answered by
zhengzhch
May 24, 2022
Replies: 1 comment
-
已解决,是因为我在函数中对inner的Array指针解引用了,而这个结构的inner非常巨大,所以会导致内存占用过多。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zhengzhch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
已解决,是因为我在函数中对inner的Array指针解引用了,而这个结构的inner非常巨大,所以会导致内存占用过多。