🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Urban Koistinen Sun, 30 Aug 1992 14:52
Re: Hash file is generated too large
#109
Author: Urban Koistinen
Date: Sun, 30 Aug 1992 14:52
34 lines
1948 bytes
In article <1992Aug26.115928.3124@Informatik.TU-Muenchen.DE> schoett@informatik.tu-muenchen.de (Oliver Schoett) writes:
->I tried generating the hash file with gnuchess -c 22, as suggested in
->the man page.  This is supposed to make a 4 MB hash file, but instead
->it wrote approx. 16 MB until the file system filled up.  Did I do
->something wrong, or is this a bug?  (This is patchlevel 56 on SunOS

You did something wrong :-)
Try gnuchess -c 10 first to see how big the file gets.

->4.1.1, compiled with gcc 2.2.2, CFLAGS= -O2 -funroll-loops
->-traditional-cpp # gnu cc 2.00 on SunOS.)

"-c 22" should create a hash file with 2^22 POSITIONS.
POSITION > Byte

For 5.0 I think file sizes should be in bytes if convenient.
Maybe the fast transposition table size should too.
It depend on the cost of % v & (mod versus and).

->
->Another question: is there a way for the user to choose a different
->book file than the (library) file name that has been compiled in?
Try using "ln -s defined-bookfile real-bookfile" :-)
See "man ln" for details.

->
->
->Oliver Schoett     Inst. f. Informatik (H2), Technische Univ. M"unchen
->                   Postfach 20 24 20,     8000 M"unchen 2,     Germany
->schoett@informatik.tu-muenchen.de    phone +49 89 2105-2399  fax -8207


-- 
Urban Koistinen - md85-epi@nada.kth.se
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads