Skip to content

lib: decode die_id from integer value #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 27, 2025

Conversation

jlrivasp
Copy link
Contributor

This patch includes an optimization when the die id name is parsed. Instead of converting an u8 value to String and then getting the name of the die from the JSON, this patch includes a Map<u8, String>

The header library can get the die name from this new Map<u8, String> and removes the need to convert the original u8 to String.

@jlrivasp jlrivasp requested a review from psurply March 26, 2025 09:51
This patch includes an optimization when the die id name is parsed.
Instead of converting an `u8` value to `String` and then getting the
name of the die from the JSON, this patch includes a `Map<u8, String>`

The header library can get the die name from this new `Map<u8, String>`
and removes the need to convert the original `u8` to `String`.

Signed-off-by: Rivas Paz, Jose L <jose.l.rivas.paz@intel.com>
@jlrivasp jlrivasp force-pushed the dev/decode_die_int branch from b754c43 to ca9ceba Compare March 26, 2025 18:27
@jlrivasp jlrivasp marked this pull request as ready for review March 26, 2025 18:34
Copy link
Contributor

@psurply psurply left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@psurply psurply merged commit 5253733 into intel:main Mar 27, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants