⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 prngconfig.h,v

📁 Lin-Kernighan heuristic for the TSP and minimum weight perfect matching
💻 H,V
字号:
head	1.3;access;symbols	zero-five-zero:1.3	zero-four-seventeen:1.3	zero-four-ten:1.3	zero-four-nine:1.3	zero-four-eight:1.3	zero-four-five:1.3	zero-four-zero:1.3;locks	neto:1.3;comment	@ * @;1.3date	97.12.18.18.25.07;	author neto;	state Exp;branches;next	1.2;1.2date	97.12.06.16.50.44;	author neto;	state Exp;branches;next	1.1;1.1date	97.12.05.21.00.29;	author neto;	state Exp;branches;next	;desc@Changed USE to DESIRE@1.3log@GCC -ansi disables defined(sparc), but defined(__sparc__) still works.  Doh!@text@/* prngconfig.h  * * Compile-time options for module PRNG. * * vi: set tabstop=4 shiftwidth=4: *  * $Id: prngconfig.h,v 1.2 1997/12/06 16:50:44 neto Exp neto $ *  *    Copyright (C) 1997 David Neto * *    This program is free software; you can redistribute it and/or modify *    it under the terms of the GNU General Public License as published by *    the Free Software Foundation; either version 2, or (at your option) *    any later version. * *    This program is distributed in the hope that it will be useful, but *    WITHOUT ANY WARRANTY; without even the implied warranty of *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU *    General Public License for more details. *  *    You should have received a copy of the GNU General Public License *    along with this program; if not, write to the Free Software *    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, *    USA. *  *  * This file sets the compile-time options for module PRNG. * or availability of certain parts of the program LK are enabled or * modified here by defining C preprocessor symbols.  The defaults are * given in comments. *  * Warning!  This file is *not* generated by a web file.  It is a plain .h * header file so that the user who doesn't have ctangle installed (tsk, * tsk!) has the ability to change the configuration options for the * program LK.  That said, I've tried to make this file as self-documenting * as possible without the power of CWEB or TeX. *  *//* Sometimes small procedures are expanded in-place in order to save the * time overhead of a function call and return.  That is called inlining. * * However, inlining usually expands code, possibly causing the instruction  * cache to be less effective.  In those cases, inlining can slow down the * code.  Hence the choice. * * If PRNG_DESIRE_INLINING is non-zero, then use inlining if the compiler  * supports it. * * Well, it seems that inlining slows down the code a whole lot on a SPARC, * but speeds things up on my Intel 486 Linux box.  */#if defined(__sparc__)#define PRNG_DESIRE_INLINING 0#else#define PRNG_DESIRE_INLINING 1#endif@1.2log@Inlining is faster on Intel 486, but slower on Sparc.(Sparc 4 sunbeam.cs anyway)@text@d7 1a7 1 * $Id: prngconfig.h,v 1.1 1997/12/05 21:00:29 neto Exp neto $d55 1a55 1#if defined(sparc)@1.1log@Initial revision@text@d7 1a7 1 * $Id$d50 3a52 1	#define PRNG_DESIRE_INLINING 1d55 3d59 1@

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -