From: Arseny S. <am...@ic...> - 2002-03-24 00:11:57
|
Hello Sam, Sunday, March 24, 2002, 3:43:24 AM, you wrote: >> This memory doesn't being allocated at once but only when it's needed >> through exception mechanism, so I find it safe to change 3M value to, >> say, 16M (16777216). Maybe we should ask Sam to change Makefile.in ? Sam> how will this affect the lesser woe32 platforms, like win95? I didn't think about it. I'll try to check on win95. >> Question to honorable Sam: You recently maked weak-hash-tables, may be >> you know, why hash tables are so program-stack hungry ? Max. HT size >> seems roughly proportional to program stack size, i.e. for 1.5M stack >> max HT is 55000, for 3M stack max HT size is 123000. Sam> I don't think it is: [24]>> (make-hash-table :size (ash most-positive-fixnum -1) ) Sam> #S(hash-table eql) [25]>> (make-hash-table :size (1+ (ash most-positive-fixnum -1) )) Sam> *** - Hash table size 8388608 too large On winnt all just the same, but if you'll begin to work with big HTs (limits I have roughly pointed out), "Program stack overflow. RESET" arises. It's not necessary to fill all such a big HT, usually 5000 elements are enough. -- Best regards, Arseny mailto:am...@ic... |