From owner-freebsd-multimedia Sun Sep 14 12:40:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA25631 for multimedia-outgoing; Sun, 14 Sep 1997 12:40:20 -0700 (PDT) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA25626 for ; Sun, 14 Sep 1997 12:40:16 -0700 (PDT) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id UAA00743 for multimedia@freebsd.org; Sun, 14 Sep 1997 20:24:52 +0200 From: Luigi Rizzo Message-Id: <199709141824.UAA00743@labinfo.iet.unipi.it> Subject: fxtv size... To: multimedia@freebsd.org Date: Sun, 14 Sep 1997 20:24:51 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk "tv" was a very small program, and since fxtv relies (or so I thought) on external program to support mpeg encoding/decoding etc I expected fxtv to be small as well. So I am a bit surprised by the following: prova# size tv text data bss dec hex 16384 4096 194440 214920 34788 prova# size fxtv text data bss dec hex 163840 12288 225024 401152 61f00 looking more in depth, fxtv has more modules but many of them have increased a lot in size. The most impressive is "tv.c" which is 474 lines yielding 22K of text. As a comparison, the original "tv.c" is 393 lines in my sources and generates 3.2K of code. Is there something going wrong with macro expansions, or what ? Cheers Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________