Skip to content
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

serkan-ozal's 5th submission: #648

Merged

Conversation

serkan-ozal
Copy link
Contributor

  • use region address directly over null base memory address to get rid of extra offset calculation

Check List:

  • You have run ./mvnw verify and the project builds successfully
  • Tests pass (./test.sh <username> shows no differences between expected and actual outputs)
  • All formatting changes by the build are committed
  • Your launch script is named calculate_average_<username>.sh (make sure to match casing of your GH user name) and is executable
  • Output matches that of calculate_average_baseline.sh
  • For new entries, or after substantial changes: When implementing custom hash structures, please point to where you deal with hash collisions (line number): 640
  • Execution time: 3.0s (It was 3.3s in the 4th submission in my testing env)
  • Execution time of reference implementation: 5m 54.1s

- use region address directly over null base memory address to get rid of extra offset calculation
@serkan-ozal
Copy link
Contributor Author

Hi @gunnarmorling,

I have another one for you :)

@gunnarmorling
Copy link
Owner

00:02.188 now.

@gunnarmorling gunnarmorling merged commit 5b97032 into gunnarmorling:main Jan 29, 2024
1 check passed
@tivrfoa
Copy link
Contributor

tivrfoa commented Jan 29, 2024

Really nice, interesting and fast solution @serkan-ozal !

@gunnarmorling could do a video on YouTube with some guys that used the VectorApi! 😄 😃 😁

That's a show apart!

import jdk.incubator.vector.ByteVector;
import jdk.incubator.vector.VectorOperators;
import jdk.incubator.vector.VectorSpecies;

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.

3 participants