[Twisted-Python] Proposal: Make tax default, tap optional
XML pickles have many benefits over taps, and the only issues they have is not support 1.5 and 2.2 new-style classes. I suggest we make them the default - a tap file is *much* less useful than a tax.
On Fri, May 31, 2002 at 06:38:30PM +0200, Itamar Shtull-Trauring wrote:
XML pickles have many benefits over taps, and the only issues they have is not support 1.5 and 2.2 new-style classes. I suggest we make them the default - a tap file is *much* less useful than a tax.
Yes, but new-style classes are really nice. Of course, fixing the tax to support new-style classes whould be best of all. -Levi
From: Levi
On Fri, May 31, 2002 at 06:38:30PM +0200, Itamar Shtull-Trauring wrote:
XML pickles have many benefits over taps, and the only issues they have is not support 1.5 and 2.2 new-style classes. I suggest we make them the default - a tap file is *much* less useful than a tax.
Yes, but new-style classes are really nice. Of course, fixing the tax to support new-style classes whould be best of all.
A tap file is about a thousand times faster than a tax, at present, and I don't have any plans for making it faster. In general, I *don't* tweak my options after I run 'mktap'... While XML is definitely useful, I'd prefer to keep .tap the default. We should have a tool for converting them, though. -- | <`'> | Glyph Lefkowitz: Traveling Sorcerer | | < _/ > | Lead Developer, the Twisted project | | < ___/ > | http://www.twistedmatrix.com |
Glyph Lefkowitz wrote:
A tap file is about a thousand times faster than a tax, at present, and I don't have any plans for making it faster. In general, I *don't* tweak my options after I run 'mktap'...
Maybe you don't - other people may want to. And startup speed is very unimportant.
On Friday, May 31, 2002, at 02:58 PM, Itamar Shtull-Trauring wrote:
Glyph Lefkowitz wrote:
A tap file is about a thousand times faster than a tax, at present, and I don't have any plans for making it faster. In general, I *don't* tweak my options after I run 'mktap'...
Maybe you don't - other people may want to. And startup speed is very unimportant.
Startup speed is fairly important to me (not terribly, but fairly...) Here's what I suggest: By default, create both. Then, each time a tap is to be loaded, check to see if the modification date on the tax is newer. If it is, load the tax, and save the tap. Donovan
Donovan Preston
Startup speed is fairly important to me (not terribly, but fairly...) Here's what I suggest: By default, create both. Then, each time a tap is to be loaded, check to see if the modification date on the tax is newer. If it is, load the tax, and save the tap.
Hey, I was going to suggest that...... Just like .py to .pyc and .el to .elc (but .elc isn't automatic) I think it's the right solution. -- Shae Matijs Erisson - http://www.webwitches.com/~shae/ <radix> shapr: I think you *are* a purist :) <radix> shapr: it's just that you're morally against unstable software, instead of morally against MS, or non-free software, or whatnot.
participants (5)
-
Donovan Preston
-
Glyph Lefkowitz
-
Itamar Shtull-Trauring
-
Levi
-
Shae Matijs Erisson