[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Python list micro-benchmarks
From: |
Collin Funk |
Subject: |
Re: Python list micro-benchmarks |
Date: |
Mon, 8 Apr 2024 18:26:19 -0700 |
User-agent: |
Mozilla Thunderbird |
On 4/8/24 3:36 PM, Paul Eggert wrote:
> For what it's worth, the business about the cost of x.append(y) (it's
> O(len(x)), and O(1) amortized) has been a standard part of the cost model
> lecture in my programming languages course for more than two decades, so I
> hope that UCLA graduates, at least, are still a step ahead of ChatGPT.
I recently graduated from San Jose State and seemed to have got it,
though my explanation could have been better. Maybe we can add
(append?) that school to the list of schools ahead of ChatGPT? Or
maybe all of California? :)
Collin
- Re: gnulib-tool.py: lists vs. sets, (continued)
- Re: gnulib-tool.py: lists vs. sets, Bruno Haible, 2024/04/07
- Re: gnulib-tool.py: lists vs. sets, Collin Funk, 2024/04/07
- Re: Python list micro-benchmarks, Bruno Haible, 2024/04/07
- Re: Python list micro-benchmarks, Collin Funk, 2024/04/07
- Re: Python list micro-benchmarks, Paul Eggert, 2024/04/07
- Re: Python list micro-benchmarks, Collin Funk, 2024/04/07
- Re: Python list micro-benchmarks, Bruno Haible, 2024/04/08
- Re: Python list micro-benchmarks, Collin Funk, 2024/04/08
- Re: Python list micro-benchmarks, Bruno Haible, 2024/04/08
- Re: Python list micro-benchmarks, Paul Eggert, 2024/04/08
- Re: Python list micro-benchmarks,
Collin Funk <=
- gnulib-tool.py: Prefer 'list.append(item)' over 'list += [item]'., Collin Funk, 2024/04/08
- Re: gnulib-tool.py: Prefer 'list.append(item)' over 'list += [item]'., Bruno Haible, 2024/04/08
- Re: gnulib-tool.py: Prefer 'list.append(item)' over 'list += [item]'., Collin Funk, 2024/04/08