Re: [Factor-talk] multi dimensional arrays and console

2010-06-04 Thread Jon Harper
On Fri, Jun 4, 2010 at 4:32 AM, Slava Pestov sl...@factorcode.org wrote: Hi Kobi, Do not override the nth and set-nth generic words for this purpose. These words should only be used for collections with integer indices 0..length-1. Even if bounds-check is also overriden to correctly handle

Re: [Factor-talk] multi dimensional arrays and console

2010-06-04 Thread Miles Gould
On Fri, Jun 04, 2010 at 12:48:27AM +0300, Kobi Lurie wrote: there are two versions, one is based on an array, the other on a hashtable. I'd suggest calling these dense-multiarray and sparse-multiarray. Both could be useful in different circumstances. Miles -- Whenever a politician or a

Re: [Factor-talk] multi dimensional arrays and console

2010-06-04 Thread Joe Groff
On Fri, Jun 4, 2010 at 4:06 AM, Jon Harper jon.harpe...@gmail.com wrote: On Fri, Jun 4, 2010 at 4:32 AM, Slava Pestov sl...@factorcode.org wrote: Hi Kobi, Do not override the nth and set-nth generic words for this purpose. These words should only be used for collections with integer indices