[Jprogramming] Removing entries from the s: symbol table
Matthew Brand
mtthwbrnd at googlemail.com
Wed Sep 2 06:36:24 HKT 2009
Thanks.
I will try to load an empty symbol table and repopulate it with the
values I want to keep to emulate the process of deleting entries from
it.
2009/9/1 Roger Hui <rhui000 at shaw.ca>:
> Entries in the s: table can not be removed.
> A new J session has an s: table consisting
> of the symbol for the empty string.
>
>
>
> ----- Original Message -----
> From: Matthew Brand <mtthwbrnd at googlemail.com>
> Date: Tuesday, September 1, 2009 8:07
> Subject: [Jprogramming] Removing entries from the s: symbol table
> To: Programming forum <programming at jsoftware.com>
>
>> Is it correct that the s: symbol table keeps growing?
>>
>> Is there a way to remove entries?
>>
>> i.e.
>>
>> s: ' one two three'
>> `one `two `three
>> 5 {. 0 s: 2
>> 0 0 0 0 0
>> 0 0 _2147483648 2 1 0
>> 0 3 292502397 1 3 0
>> 0 1024 0 3 0
>> 3 3 320485795 1 3 0
>> 0 2048 3 0 0
>> 6 5 1310088983 0 0 1 2
>> 1536 1 2 0
>> 0 0 0 0 0
>> 0 0
>> 0 0 0 0
>>
>> NB. how can I remove say 'two' from the symbol
>> table so that the
>> memory it takes up is relinquished?
>>
>> I want to do it because I am using a large number of long strings.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
The risk is socialized, the profit is privatized.
More information about the Programming
mailing list