Hash tables, anyone?



Robert,

Robert Dodier <robert.dodier <at> gmail.com> writes:

> 
> On 7/2/10, Alexander Shulgin <alex.shulgin <at> gmail.com> wrote:
> 
> > Is it possible to get a reference to a hash table in maxima?
> 
> Yes: try use_fast_arrays:true $
> Instead of attaching the hash table to a symbol property,
> the hash table is put in the value slot of the symbol.
> 
> The hash table is created the first time an attempt is
> made to store something in it.

Interesting, that also fixes the use of hash tables for my applicaion. Am I
alone in wondering why that isn't the default behaviour? The whole hash
table/symbol property seems like a black magic approach to me while the latter
approach seems to be how it works in most modern languages. Simply a case of
historic precedent?

Cheers
Neilen