>> To implement such a system, you need to get all ABI dependencies out
>> of the header files; this includes the structure layouts in particular.
>
> That could hurt the performance of some things. Macros
> like PyList_GET_ITEM etc. rely on knowing about struct
> layouts to get at things quickly.
>> I follow the advice Guido gave: I use the data
>> structure that will make my code shortest and easiest
>> to read,
>
> But given a choice such as list vs. dict, the code
> is almost identical either way. What do you do then?
Why do you say that? Lists and dictionaries are *completely*
differe
Martin v. Löwis wrote:
> I follow the advice Guido gave: I use the data
> structure that will make my code shortest and easiest
> to read,
But given a choice such as list vs. dict, the code
is almost identical either way. What do you do then?
Toss a coin? Or make a few educated guesses based on
w
On Wed, Mar 12, 2008, Stephen J. Turnbull wrote:
> "Martin v. L?wis" writes:
>>
>> Premature optimization is the root of all evil.
>
> Actually, Knuth's bon mot was "Premature optimization is the root of
> all error."
>From my .sig database:
"Premature optimization is the root of all evil in pr
Martin v. Löwis wrote:
> To implement such a system, you need to get all ABI dependencies out
> of the header files; this includes the structure layouts in particular.
That could hurt the performance of some things. Macros
like PyList_GET_ITEM etc. rely on knowing about struct
layouts to get at th
Well maybe they'll invite me as a speaker now. ;-)
On Tue, Mar 11, 2008 at 3:34 PM, Brett Cannon <[EMAIL PROTECTED]> wrote:
> I just got my postcard announcing OOPSLA 2008. Interesting thing is
> that the postcard, which lists various things that will be at OOPSLA,
> includes Python. It's actual
"Martin v. Löwis" writes:
> Premature optimization is the root of all evil.
Actually, Knuth's bon mot was "Premature optimization is the root of
all error."
Which is probably worse; it leaves the perpetrator the excuse "but I
was only trying to help!" While we all know what to do to evildoers,
I just got my postcard announcing OOPSLA 2008. Interesting thing is
that the postcard, which lists various things that will be at OOPSLA,
includes Python. It's actually listed in the first line and the thing
is not alphabetized. And even cooler, it is the first language listed
(ruby, Objective-C, C
> Can you really say that you don't make any design
> decisions early on based on the assumption that
> dict lookup will almost certainly be a lot faster
> than searching a list?
I follow the advice Guido gave: I use the data
structure that will make my code shortest and easiest
to read, regardles
On behalf of the Python development team and the Python community, I'm
happy to announce the release of Python 2.4.5 and 2.3.7 (final).
Both releases include only security fixes. Python 2.5 is the latest
version of Python, we're making this release for people who are still
running Python 2.3 or 2.
>>> I think the best lesson here is Tcl. Because it uses stubs mechanism,
>>> you don't need to depend on tclXX.dll, you don't deal with really
>>> direct implementation details, you don't care about runtimes,
>>> everything is much easier. Maybe it's possible (and not too late) for
>>> Python to s
Daniel Stutzbach wrote:
> On Sun, Mar 9, 2008 at 9:22 AM, Aahz <[EMAIL PROTECTED]> wrote:
>> There probably would be some value in a wiki page on python.org that
>> provides this information, particularly across versions. You may be
>> able to find volunteers to help on comp.lang.python.
>
> I
Mike Meyer wrote:
> On Tue, 11 Mar 2008 14:55:04 +0100 Stefan Behnel <[EMAIL PROTECTED]> wrote:
>> (weird places these threads come up at, but now that it's here...)
>> Mike Meyer wrote:
>>> On Tue, 04 Mar 2008 15:44:32 -0800 Ned Deily <[EMAIL PROTECTED]> wrote:
In article <[EMAIL PROTECTED]>,
On Tue, 11 Mar 2008 14:55:04 +0100 Stefan Behnel <[EMAIL PROTECTED]> wrote:
> (weird places these threads come up at, but now that it's here...)
> Mike Meyer wrote:
> > On Tue, 04 Mar 2008 15:44:32 -0800 Ned Deily <[EMAIL PROTECTED]> wrote:
> >> In article <[EMAIL PROTECTED]>,
> >> Mike Meyer <[EM
Martin v. Löwis wrote:
>> I think the best lesson here is Tcl. Because it uses stubs mechanism,
>> you don't need to depend on tclXX.dll, you don't deal with really
>> direct implementation details, you don't care about runtimes,
>> everything is much easier. Maybe it's possible (and not too late)
Mike Meyer wrote:
> On Wed, 05 Mar 2008 13:01:14 +1300 Greg Ewing <[EMAIL PROTECTED]> wrote:
>
>> Mike Meyer wrote:
>>> Trying to install it from the repository is a PITA, because
>>> it uses both the easyinstall and Pyrex
>> It shouldn't depend on Pyrex as long as it's distributed
>> with the gen
(weird places these threads come up at, but now that it's here...)
Mike Meyer wrote:
> On Tue, 04 Mar 2008 15:44:32 -0800 Ned Deily <[EMAIL PROTECTED]> wrote:
>> In article <[EMAIL PROTECTED]>,
>> Mike Meyer <[EMAIL PROTECTED]> wrote:
>>> On Thu, 28 Feb 2008 23:42:49 + (UTC) Medhat Gayed
>>>
17 matches
Mail list logo