[gPXE-devel] Minor Scripting Improvements
Shao Miller
Shao.Miller at yrdsb.edu.on.ca
Sun Mar 14 13:23:07 EDT 2010
Stefan Hajnoczi wrote:
>
> if ( rc | shell_exit_flag ) {
>
> The bitwise OR saves a few bytes compared to logical OR but looks odd.
> On my system I can get the same size using:
>
> while ( ! shell_exit_flag && offset < image->len ) {
>
Yes, it's all about the code size. :) I appreciate your findings here
for a more pleasant alternative, Stefan. I can certainly redo the
staging branch for 'exit' and 'loopif' to use this. Thanks!
- Shao Miller
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://etherboot.org/pipermail/gpxe-devel/attachments/20100314/7462b310/attachment.html
More information about the gPXE-devel
mailing list