Skip to content

Chapter 1-3: Assignment #5#7

Open
postmeback wants to merge 13 commits into
xoriors:mainfrom
postmeback:main
Open

Chapter 1-3: Assignment #5#7
postmeback wants to merge 13 commits into
xoriors:mainfrom
postmeback:main

Conversation

@postmeback
Copy link
Copy Markdown

This PR contains the solution for Chapter 1-3 assignment.
Issue reference: #5

Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Copy link
Copy Markdown
Member

@radumarias radumarias left a comment

Choose a reason for hiding this comment

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

very good solution, congrats

just out of curiosity, could you also print the time it takes for each count?

and would be great if you could integrate https://crates.io/crates/criterion because that shows nice numbers and charts too as HTML. if you integrate this you need to extract in a function just the part that generates rand and remove from the vec, and just benchmark that, we we mostly care about this part

@postmeback
Copy link
Copy Markdown
Author

image

This is the output coming up, however, after implementing criterion,no such benchmark is appearing. I have updated the code base. Please have a look.

Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
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