Cmake project fixes, performance improvements.#1
Open
Conversation
…ile in use, wip. Release iteration time is down to approx 6 microseconds now, however.
… front() on an empty deque, modified cmakelists, etc.
calebtt
commented
Mar 22, 2024
…s per iter is a pretty hard limit to beat.
calebtt
commented
Mar 26, 2024
| { | ||
| namespace chron = std::chrono; | ||
| using Index_t = uint32_t; | ||
| using Index_t = uint16_t; |
Owner
Author
There was a problem hiding this comment.
Added for possibility Windows platform calling conventions are limited in register size and quantity compared to Linux.
… forwarding-ref ctor. re-ordered declaration of Translator members. Changed containers to unordered variant, they micro-bench faster, around 3 microseconds at best. modified to return pointer to const for GetMappingsRange() access. Added additional explicit optional ctor call.
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.
Heavily modified, has translator and filter types still.
Mutable and immutable (in operation) parts of mapping description separated, and I benchmark the unit test at around 5 microseconds per iteration.
Fixed/improved Cmake project setup. Test driver program for Xbox 360 controllers/xinput devices.