The Mist
The Mist
CC#
Created by The Mist on 4/27/2024 in #help
✅ :white_check_mark: Dictionary<int, ...> lookup time seems a bit too slow
Yeah, that's fair
17 replies
CC#
Created by The Mist on 4/27/2024 in #help
✅ :white_check_mark: Dictionary<int, ...> lookup time seems a bit too slow
Thanks guys! I don't get to use line-by-line profilers too often, so maybe I'm just overestimating how well it accounts for its own overhead in the benchmark results I've gotten the performance to an acceptable threshold for now by optimizing other things, if it falls under the threshold again I'll try using BenchmarkDotNet to see if there is really some issue with the dictionary/method or if it was just the overhead after all
17 replies
CC#
Created by The Mist on 4/27/2024 in #help
✅ :white_check_mark: Dictionary<int, ...> lookup time seems a bit too slow
What could be the reason for it to be so slow? Maybe I should just chalk this up to line-by-line profiling miscalculations for now
17 replies
CC#
Created by The Mist on 4/27/2024 in #help
✅ :white_check_mark: Dictionary<int, ...> lookup time seems a bit too slow
No description
17 replies
CC#
Created by The Mist on 4/1/2024 in #help
Difference algorithm that Git uses
Didn't get a notif for this - thanks for the responses!
10 replies
CC#
Created by The Mist on 10/1/2022 in #help
ReferenceEquals?
That's another can of worms So what's the procedure here once a post has been solved, do I close it or do I leave it as it is?
43 replies
CC#
Created by The Mist on 10/1/2022 in #help
ReferenceEquals?
In any case
43 replies
CC#
Created by The Mist on 10/1/2022 in #help
ReferenceEquals?
I'll place a few breakpoints to hopefully figure out what it's doing under the hood
43 replies
CC#
Created by The Mist on 10/1/2022 in #help
ReferenceEquals?
text.textInfo.meshInfo[0].vertices this one is an actual array within the meshInfo struct
43 replies
CC#
Created by The Mist on 10/1/2022 in #help
ReferenceEquals?
Not according to the docstring though
43 replies
CC#
Created by The Mist on 10/1/2022 in #help
ReferenceEquals?
Maybe one of these doesn't return a copy in some cases
43 replies
CC#
Created by The Mist on 10/1/2022 in #help
ReferenceEquals?
And I'm not really sure if that's true, if accessing the property always returns a copy - what's the point
43 replies
CC#
Created by The Mist on 10/1/2022 in #help
ReferenceEquals?
43 replies