Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #50911

Re: Rosetta Code: Zig-zag matrix

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject Re: Rosetta Code: Zig-zag matrix
Date 2016-09-12 13:12 -0700
Organization A noiseless patient Spider
Message-ID <87y42wg9mn.fsf@jester.gateway.pace.com> (permalink)
References <nr558f$3l8$1@dont-email.me> <87oa3thfmd.fsf@jester.gateway.pace.com> <nr64qr$jbm$1@cherry.spenarnc.xs4all.nl>

Show all headers | View raw


albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) writes:
> That is not enough context.
> Remember most of us have WJ kill-filed.

He posted dozens of lines of crazy Ruby code that built up that table as
a matrix in memory before printing it, i.e. using memory space quadratic
in the number of rows.  Mine used constant memory and was 8 lines of
Forth, calculating and printing the numbers on the fly.

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Rosetta Code: Zig-zag matrix "WJ" <w_a_x_man@yahoo.com> - 2016-09-12 02:52 +0000
  Re: Rosetta Code: Zig-zag matrix Paul Rubin <no.email@nospam.invalid> - 2016-09-11 22:05 -0700
    Re: Rosetta Code: Zig-zag matrix albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2016-09-12 13:50 +0200
      Re: Rosetta Code: Zig-zag matrix Paul Rubin <no.email@nospam.invalid> - 2016-09-12 13:12 -0700
        Re: Rosetta Code: Zig-zag matrix albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2016-09-12 22:38 +0200
          Re: Rosetta Code: Zig-zag matrix Paul Rubin <no.email@nospam.invalid> - 2016-09-12 14:15 -0700

csiph-web