-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
performancePerformance or resource usagePerformance or resource usage
Description
We want this, because:
- Specializing for indexing by int and by slice are different and should be treated differently
- It avoids creating the temporary slice object.
- Indexing by slice is syntactically distinct from indexing by object. The compiler can generate better code if it has different instructions.
For full discussion see faster-cpython/ideas#319
Metadata
Metadata
Assignees
Labels
performancePerformance or resource usagePerformance or resource usage