chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] size of the symbol table


From: Felix Winkelmann
Subject: Re: [Chicken-users] size of the symbol table
Date: Fri, 11 Apr 2003 08:49:10 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530

Sven Hartrumpf wrote:
On 10 Apr 2003, felix <address@hidden> wrote:
I read the documentation and found -:t
-- a way to specify symbol table size.

Is this parameter worth variating for maximal performance?

Try it out. If you have *very* many symbols, it might improve
symbol table lookup.


O.K. I will do some testing and report my findings if they look interesting. Ooops! If I use -:t8 (-:t8k, ... all other values I tried with examples/mmcp
and other programs), I get a "Segmentation fault":


Program received signal SIGSEGV, Segmentation fault.
0x4001cab0 in CHICKEN_parse_command_line ()
   from /programs/free/chicken-cvs/lib/libuchicken.so.0
(gdb) bt
#0  0x4001cab0 in CHICKEN_parse_command_line ()
   from /programs/free/chicken-cvs/lib/libuchicken.so.0
#1  0xbffff133 in ?? ()
Cannot access memory at address 0x1
(gdb)

--- runtime.c   2003-04-11 08:44:54.000000000 +0200
+++ runtime.c.old       2003-04-11 08:44:43.000000000 +0200
@@ -685,7 +685,8 @@

        case 't':
          *symbols = arg_val(ptr);
- goto next; + ptr = NULL; + break;

        case 'c':
          fake_tty_flag = 1;


Thanks.


cheers,
felix






reply via email to

[Prev in Thread] Current Thread [Next in Thread]