From: DeLaGarza, Robert <robdlg@att.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] DYNAMIC_CRC_TABLE ????
Date: Tue, 15 Apr 2003 01:53:57 -0700 [thread overview]
Message-ID: <01C302F1.E70452E0.robdlg@att.net> (raw)
On Tuesday, April 15, 2003 1:21 AM, Steven Scholz [SMTP:steven.scholz at imc-berlin.de] wrote:
> The file crc32.c contains some #ifdef DYNAMIC_CRC_TABLE .
>
> What's the purpose of that?
> Are there any advantages of defining that?
>
That directive enables one to create the crc_table[256] array at run time, rather than compiling it into
the code.
One advantage of doing this is that it reduces the size of the code; only the function used to generate
the table needs to be stored in non-volatile memory, rather than the entire table (for a 32-bit long, the
table will occupy 1 kilobyte of memory).
next reply other threads:[~2003-04-15 8:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-15 8:53 DeLaGarza, Robert [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-04-15 8:20 [U-Boot-Users] DYNAMIC_CRC_TABLE ???? Steven Scholz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=01C302F1.E70452E0.robdlg@att.net \
--to=robdlg@att.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox