Decrease stack usage in lexer.
We have only 92K of stack and using over 4K per frame is wasteful * grub-core/script/yylex.l (yyalloc), (yyfree), (yyrealloc): Declare as macros so that compiler would remove useless structure on stack. Better solution would be to fix flex not to put this structure on the stack but flex is external program.
This commit is contained in:
parent
4f84ae0ec8
commit
080603f0b0
2 changed files with 14 additions and 25 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2013-11-16 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Decrease stack usage in lexer.
|
||||
|
||||
We have only 92K of stack and using over 4K per frame is wasteful
|
||||
|
||||
* grub-core/script/yylex.l (yyalloc), (yyfree), (yyrealloc): Declare
|
||||
as macros so that compiler would remove useless structure on stack.
|
||||
Better solution would be to fix flex not to put this structure on
|
||||
the stack but flex is external program.
|
||||
|
||||
2013-11-16 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Decrease stack usage in signature verification.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue