Partial 325 Fix P2 - Updated vectvshash.png Added - #1138
Open
GalinaP7 wants to merge 4 commits into
Open
Conversation
Collaborator
|
Am I missing something (quite possible)? I see that you've updated the text, but I don't see the new image in the PR (missing a "git add"?). |
Contributor
Author
|
That's completely my fault! I forgot to attach the PNG. |
wrigjl
approved these changes
Aug 14, 2026
wrigjl
left a comment
Collaborator
There was a problem hiding this comment.
Heh, happens to everyone =)
pearcej
requested changes
Aug 14, 2026
pearcej
left a comment
Owner
There was a problem hiding this comment.
This is a big improvement! However, I have a minor nit. I would rather the xml:id be fig-vectvshash2-cpp rather than fig-vectvshash-cpp2 because I think semantically the change is not to the language, but the figure.
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Follow-up to #1137 - adds the replacement graph for
fig-vectvshash-cpp, which was commented out in that PR since the oldimage reflected the previous (incorrect) cumulative-timing measurement.
fixes #325
What's fixed
New chart generated from corrected code output
std::chrono-based, per-operation average timing) locally across the full range (10,000 to 990,000 elements, step 20,000).vectvshash.pngin Excel from that real output, replacing the old image which was based on cumulative search time (0–50 second scale) rather than per-operation average time (microsecond/nanosecond scale).Figure re-enabled
<figure xml:id="fig-vectvshash-cpp">block inHashTableAnalysis.ptx.<xref ref="fig-vectvshash-cpp"/>in the results paragraph that references it.<description>text to describe the actual new image: vector climbs to approximately 69 microseconds at 1,000,000 elements, hash table stays flat at approximately 2–3 nanoseconds throughout (previously said "45 seconds," whichreflected the old, incorrect measurement).
Tested on local build
Reviewed by @harrisonj2-v