Changeset 51c163 in git for Singular/mmalloc.c


Ignore:
Timestamp:
Dec 3, 1997, 5:59:09 PM (26 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
60b6009c05103f2e0954313a9eaf4212fbfb177c
Parents:
97eb91d6ede7d98085ea363e0cde94fa6a6913be
Message:
Wed Dec  3 16:14:51 1997  Olaf Bachmann
<obachman@mathematik.uni-kl.de>

	* Many changes to prepare for implementation of fast comparison
		  schemes: Here are only a few:
	- added file polys-impl.h which implements low-level poly stuff
	- removed file polys2.cc, added polys-impl.cc
	- added Singularp target to Make
	- prepared configure for setting of exponent type
	- got rid of as many direct p->exp[..] accesses as possible
	- added file spSpolyLoop.cc spSpolyLoop.h polys-comp.h
	* polys-impl.h: if you defined COMP_FAST, then fast polynomial
		  comparsions are eanbled (still needs a lot of debugging)


git-svn-id: file:///usr/local/Singular/svn/trunk@941 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/mmalloc.c

    r97eb91 r51c163  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: mmalloc.c,v 1.2 1997-04-02 15:07:28 Singular Exp $ */
     4/* $Id: mmalloc.c,v 1.3 1997-12-03 16:58:53 obachman Exp $ */
    55
    66/*
     
    1818#include "mmemory.h"
    1919#include "mmprivat.h"
     20
     21#ifdef DO_DEEP_PROFILE
     22void _memcpyW(void* p1, void* p2, long l)
     23{
     24  long _i = l;                                          \
     25  long* _s1 = (long*) p1;                               \
     26  long* _s2 = (long*) p2;                               \
     27                                                        \
     28  for (;;)                                              \
     29  {                                                     \
     30    *_s1 = *_s2;                                        \
     31    _i--;                                               \
     32    if (_i == 0) break;                                 \
     33    _s1++;                                              \
     34    _s2++;                                              \
     35  }                                                     \
     36}
     37#endif
    2038
    2139size_t mmSizeL( void* adr )
Note: See TracChangeset for help on using the changeset viewer.