Skip to content

Conversation

wvpm
Copy link
Contributor

@wvpm wvpm commented Jul 12, 2025

IndexedMap searches for an item to get the index.
If the item inherits from HasIndex, it has a get_index() method which should be used instead.
This is faster than searching.

@wvpm wvpm added this to the 0.9.0 milestone Jul 12, 2025
@wvpm wvpm added enhancement New feature or request performance topic:core labels Jul 12, 2025
@wvpm wvpm enabled auto-merge July 12, 2025 19:41
@wvpm wvpm requested a review from Spartan322 July 12, 2025 19:41
@wvpm wvpm force-pushed the optimise_indexed_map branch from 9f030ae to 20a4bc9 Compare July 13, 2025 10:03
@wvpm wvpm force-pushed the optimise_indexed_map branch from 20a4bc9 to a8f1fdf Compare July 14, 2025 14:01
@wvpm wvpm merged commit d0953c5 into master Jul 14, 2025
14 checks passed
@Spartan322 Spartan322 deleted the optimise_indexed_map branch July 14, 2025 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants