© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
3y ago
•
64 replies
hugeman
❔ Best way to cache index of an object in a list
I have a list with anywhere from 0 to maybe 1000 objects in it
, and I have to try and find the index of that object very quickly
(during mouse move events
, so 100s of times per second possibly
)
What would be a good way to optimise this
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Next page
Similar Threads
✅ ToString of a list of an object
C
C# / help
3y ago
Add an object to list
C
C# / help
2y ago
List as a field of an object. [Answered]
C
C# / help
4y ago
❔ Best way to display a continually updating list of messages
C
C# / help
3y ago