Author: martin fierz
Date: 22:18:32 04/16/02
Go up one level in this thread
On April 16, 2002 at 17:09:08, martin fierz wrote: >On April 16, 2002 at 08:39:32, Gian-Carlo Pascutto wrote: > >>1) Would there be any advantage to my hash entries being 16 bytes instead of 14 >>bytes? I'm thinking of possible alignment issues. The fact that I can have more >>if they're only 14 bytes is irrelevant for me. >> >>2) (For the Microsoft/Windows buffs) Is it possible to allocate more than 256M >>in a contiguous chunck under older Windows versions? >> >>-- >>GCP > >2) using malloc, you can only allocate up to 256MB. using VirtualAlloc, you can >allocate as much as you want, also under win95/98. i have also had a program of >mine run much faster (-30% execution time) when using VirtualAlloc instead of >malloc (my checkers endgame db generator). > >aloha > martin PS: of course, you have a 2GB limit under windows - so you cannot ask for more than 2GB - except if you have win2000 where you can set a /3GB in some ini file, then you can have 3GB. but that's the limit for windows :-(
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.