Hello,all.
I wrote in the last:
At second, However we have the filepath in 'const char*
path', The original code copies the filepath. It wastes
the processor time.
If you think the use of pointers makes complex,
I recommend to use array and index.
It doesn't only waste the processor time.
The original code uses a large amount of auto-variable. It wastes the stack
space.
When we exhaust the stack space, we should expect the worst result.
GRUB is a bootloader, It does not support the virtual memory.
So we must stingy about the auto-variables.
--
Regards,
Hitoshi Ozeki
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel