diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-07-17 12:12:16 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-07-17 12:12:16 +0000 |
| commit | 782a4f3fece388a3b5e541f4b1b11f86f69d5921 (patch) | |
| tree | 34596c9273c608a317b1701a8aefe5e1a56e538f /pattern.c | |
| parent | a31934f233581da07153af6b4ee717f1e63387dd (diff) | |
| download | puzzles-782a4f3fece388a3b5e541f4b1b11f86f69d5921.zip puzzles-782a4f3fece388a3b5e541f4b1b11f86f69d5921.tar.gz puzzles-782a4f3fece388a3b5e541f4b1b11f86f69d5921.tar.bz2 puzzles-782a4f3fece388a3b5e541f4b1b11f86f69d5921.tar.xz | |
Get rid of the malloc in shuffle(), by defining a subfunction
memswap() which declares a fixed-size buffer on the stack and uses
it multiple times if necessary.
[originally from svn r6107]
Diffstat (limited to 'pattern.c')
0 files changed, 0 insertions, 0 deletions