Skip to content

⚡ use uuid crate to parse UUIDStego#2

Open
ElaBosak233 wants to merge 1 commit into
ret2shell:mainfrom
ElaBosak233:main
Open

⚡ use uuid crate to parse UUIDStego#2
ElaBosak233 wants to merge 1 commit into
ret2shell:mainfrom
ElaBosak233:main

Conversation

@ElaBosak233
Copy link
Copy Markdown

Summary

This PR improves UUIDStego decoding performance in ret2script by replacing the previous regex-based implementation with the uuid crate.

Benchmark

UUID parsing benchmark results:

Implementation Hyphenated UUID Non-hyphenated UUID Speedup
regex 42.14 µs 34.66 µs 1x
uuid 35.6 ns 35.1 ns ~1000x

The uuid crate is approximately 1000x faster than the previous regex-based approach.

@ElaBosak233 ElaBosak233 marked this pull request as ready for review May 18, 2026 06:34
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.

1 participant