Re: [tablix-list] Tablix roadmap

From: Tomaz Solc <tomaz.solcREMOVE@THISsiol.net>
Date: Wed Dec 15 2004 - 10:29:28 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

| 1) I'd tidy up the central data structures to optimise the speed of
| processing as far as possible. Have just a simple array of slots
| (number of slots == number of periods in the week), with no double
| indirection and no double indexing. This is something I've already
| looked at, but haven't got beyond the planning stage with.
| Subsidiary information (like which day of the week a given period
| falls on) can be additional information in the slot. This would
| speed things up and greatly facilitate the handling of
| non-rectangular weeks (or indeed, other things which don't involve
| weeks).

I'm not sure if I understand this correctly. Time, at which a given
tuple is scheduled, is already represented as a serial number of the
period in the week ("time" field in struct "gen").

Day of the week is currently calculated as "time/PERIODS" where PERIODS
is the number of periods per week. Non-rectangular weeks could be
implemented by replacing this division by a more complicated function.

Which structure does not need double indexing and indirection?

Best regards
Tomaz Solc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBwAP4sAlAlRhL9q8RAmtHAKDCBsa/JSiawOAFSOJuUr1NagM9pACg3YMm
sEAC5UdyYtWvkLuo1HVXCfY=
=VuGF
-----END PGP SIGNATURE-----
Received on Wed Dec 15 10:43:29 2004

This archive was generated by hypermail 2.1.8 : Tue Aug 16 2005 - 20:42:36 CEST