1. Record for Most Subscripts

Actual working code from a program I'm developing:

  f = find(stacks[t][2][x][2][y][z][2],faces[1]) 
  s = find(stacks[t][2][x][2][y][z][1],suits[1]) 

Eventually I'll write helper code for better management of the stack sequence, or use maps.

But WOW! I don't think I've ever gone that deep. It's a record! smile

new topic     » topic index » view message » categorize

2. Re: Record for Most Subscripts

lol

Try understanding that in 6 months!

Chris

new topic     » goto parent     » topic index » view message » categorize

3. Re: Record for Most Subscripts

ChrisB said...

lol

Try understanding that in 6 months!

Heck, I don't understand it now!

Matt

new topic     » goto parent     » topic index » view message » categorize

4. Re: Record for Most Subscripts

Faces, suits... sounds like a card game to me. getlost

-Greg

new topic     » goto parent     » topic index » view message » categorize

5. Re: Record for Most Subscripts

euphoric said...

Actual working code from a program I'm developing:

  f = find(stacks[t][2][x][2][y][z][2],faces[1]) 
  s = find(stacks[t][2][x][2][y][z][1],suits[1]) 

Eventually I'll write helper code for better management of the stack sequence, or use maps.

But WOW! I don't think I've ever gone that deep. It's a record! smile

Maybe you should rethink the data structure.

Jacques

new topic     » goto parent     » topic index » view message » categorize

6. Re: Record for Most Subscripts

Some gems from my VGM generator:

channel[i][25] = adsrs[2][patterns[2][channel[i][CHN_PATTERN]][channel[i][CHN_DATAPOS]]][2] 
 
channel[i][18][LIST_POS] = vibratos[2][channel[i][18][1]][2][1] 
 
new topic     » goto parent     » topic index » view message » categorize

7. Re: Record for Most Subscripts

euphoric said...

Actual working code from a program I'm developing:

  f = find(stacks[t][2][x][2][y][z][2],faces[1]) 
  s = find(stacks[t][2][x][2][y][z][1],suits[1]) 

Eventually I'll write helper code for better management of the stack sequence, or use maps.

But WOW! I don't think I've ever gone that deep. It's a record! smile

You could at least do this:

  object whatever 
  whatever = stacks[t][2][x][2][y][z] 
  f = find(whatever[2],faces[1]) 
  s = find(whatever[1],suits[1]) 

But this really is pretty advanced stuff. Derek did not know about this either.

new topic     » goto parent     » topic index » view message » categorize

8. Re: Record for Most Subscripts

Critic said...

You could at least do this:

  object whatever 
  whatever = stacks[t][2][x][2][y][z] 
  f = find(whatever[2],faces[1]) 
  s = find(whatever[1],suits[1]) 

But this really is pretty advanced stuff. Derek did not know about this either.

There you go again. You just can't resist the premature micro-optimization, huh?

Matt

PS:
IHBT
YHBT
WHBT

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu