lzf.h (38f1b189cd839bd8aa122ae06cc084810ca1e395) | lzf.h (1fc157ae9102c6ac25199eb83230a1f78313ff76) |
---|---|
1/* 2 * Copyright (c) 2000-2008 Marc Alexander Lehmann <schmorp@schmorp.de> 3 * 4 * Redistribution and use in source and binary forms, with or without modifica- 5 * tion, are permitted provided that the following conditions are met: 6 * 7 * 1. Redistributions of source code must retain the above copyright notice, 8 * this list of conditions and the following disclaimer. --- 118 unchanged lines hidden (view full) --- 127#ifndef ULTRA_FAST 128# define ULTRA_FAST 0 129#endif 130 131/* 132 * Unconditionally aligning does not cost very much, so do it if unsure 133 */ 134#ifndef STRICT_ALIGN | 1/* 2 * Copyright (c) 2000-2008 Marc Alexander Lehmann <schmorp@schmorp.de> 3 * 4 * Redistribution and use in source and binary forms, with or without modifica- 5 * tion, are permitted provided that the following conditions are met: 6 * 7 * 1. Redistributions of source code must retain the above copyright notice, 8 * this list of conditions and the following disclaimer. --- 118 unchanged lines hidden (view full) --- 127#ifndef ULTRA_FAST 128# define ULTRA_FAST 0 129#endif 130 131/* 132 * Unconditionally aligning does not cost very much, so do it if unsure 133 */ 134#ifndef STRICT_ALIGN |
135# define STRICT_ALIGN !(defined(__i386) || defined (__amd64)) | 135# if !(defined(__i386) || defined (__amd64)) 136# define STRICT_ALIGN 1 137# else 138# define STRICT_ALIGN 0 139# endif |
136#endif 137 138/* 139 * You may choose to pre-set the hash table (might be faster on some 140 * modern cpus and large (>>64k) blocks, and also makes compression 141 * deterministic/repeatable when the configuration otherwise is the same). 142 */ 143#ifndef INIT_HTAB --- 68 unchanged lines hidden --- | 140#endif 141 142/* 143 * You may choose to pre-set the hash table (might be faster on some 144 * modern cpus and large (>>64k) blocks, and also makes compression 145 * deterministic/repeatable when the configuration otherwise is the same). 146 */ 147#ifndef INIT_HTAB --- 68 unchanged lines hidden --- |