Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!sri-unix!dpk@BRL-VGR.ARPA From: dpk@BRL-VGR.ARPA Newsgroups: net.unix-wizards Subject: Compact/Uncompact Message-ID: <1588@sri-arpa.UUCP> Date: Wed, 4-Jul-84 23:52:36 EDT Article-I.D.: sri-arpa.1588 Posted: Wed Jul 4 23:52:36 1984 Date-Received: Sat, 7-Jul-84 00:41:35 EDT Lines: 21 From: Doug Kingston The programs compact and uncompact on Berkeley 4.2 are horribly expensive to use. They use around 6 times as much CPU time as an equivalent program on the PDP11. This is ridiculous. File was 10500 chars (larger files are no better) 11/70 pack 1.7u 0.7s 0:03r 26% compaction unpack 0.9u 0.6s 0:02r VAX 780 compact 7.9u 0.3 0:08r 27% compaction uncompact 5.9u 0.3s 0:06r I also had a compacted file of 873000 chars that took 610 seconds of CPU time to uncompact. This is silly. I profiled compact and it looks like its ripe for improvement. Has anyone attempted to fix this? -Doug-