Re: [tablix-list] subject_sameday.c port?

From: Tomaz Solc <tomaz.solcREMOVE@THISsiol.net>
Date: Thu Jun 30 2005 - 14:37:02 CEST

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

Hi

> I had a quick look at the source to see if it would be easy to port and I
> think the answer is 'No!' - but I could be wrong.

The biggest problem is that tablix 0.2.x doesn't know about subjects.
The closest to the subject_sameday.so functionality you could get would
be not to allow more than one event with the same name on the same day.

> Would it be better to write it from scratch or am I being put off by the n
> levels of indent?

I've looked at the code and it seemed simple to port, so I've done it
myself. You have the ported module in the CVS. It is named "sameday.so".

The fitness function is quite slow at the moment, because in 0.1.x you
compared two integers (subject IDs), but now you need to compare two
strings (names of events).

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

iD8DBQFCw+dusAlAlRhL9q8RAtrbAJ9qVGLsRxJyLf3NZhO+64d3mjdjmwCdHJlR
vRFiFPlwAAs7k1ZG0+pAT/Q=
=97Z1
-----END PGP SIGNATURE-----
Received on Thu Jun 30 14:27:47 2005

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