Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #6643
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: generating permutations |
| Date | 2016-05-22 22:58 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <87vb25sqjk.fsf@bsb.me.uk> (permalink) |
| References | <86298170-5592-40fa-a275-7e90d472e2ce@googlegroups.com> <6d8de1c0-c835-4a67-b115-25249177e717@googlegroups.com> <ad4f7ce6-2699-42e3-815e-3ccce7c0200c@googlegroups.com> |
luser droog <mijoryx@yahoo.com> writes: <snip> > [...] But an array > is implemented with a hefty 'dope vector' or descriptor or display which > allow simple slicing to still share the original data through a modified > descriptor. The result will still be rectangular, but is no longer bound > by the linear mapping of the generalized indexing formula. The descriptor > will be augmented with extra index-transformation powers. Yes, surely a slice (like yours at least) is just an array whose indexes go through a table first? And it seems possible (at first glance) that you could implement this table as one of your unsliced array objects. This might be slow for something or memory hungry for others (which it why some languages have a more constrained notion of a slice) but often the best plan is to implement something and see if indeed suits your purpose. <snip> -- Ben.
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
generating permutations luser droog <mijoryx@yahoo.com> - 2016-05-22 02:46 -0700
Re: generating permutations bart4858@gmail.com - 2016-05-22 05:36 -0700
Re: generating permutations luser droog <mijoryx@yahoo.com> - 2016-05-22 14:40 -0700
Re: generating permutations Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-05-22 22:58 +0100
Re: generating permutations BartC <bc@freeuk.com> - 2016-05-23 14:09 +0100
Re: generating permutations luser droog <mijoryx@yahoo.com> - 2016-05-23 21:36 -0700
Re: generating permutations BartC <bc@freeuk.com> - 2016-05-24 12:56 +0100
Re: generating permutations luser droog <mijoryx@yahoo.com> - 2016-05-25 19:03 -0700
Re: generating permutations BartC <bc@freeuk.com> - 2016-05-26 13:08 +0100
Re: generating permutations luser droog <mijoryx@yahoo.com> - 2016-05-26 08:35 -0700
csiph-web