summaryrefslogtreecommitdiff
path: root/prepare_vaidhy.sh
diff options
context:
space:
mode:
authorVaidhy Mayilrangam <vaidhy@gmail.com>2024-01-13 09:46:51 -0800
committerGitHub <noreply@github.com>2024-01-13 18:46:51 +0100
commit33c614a1e34ea671c07c2fb0ba400fce9db8bf07 (patch)
tree62c2ccf32458edc458bf48a26440bff48224db1d /prepare_vaidhy.sh
parenta1adf191e1bb83ec90690a731a24828f0b620bf3 (diff)
Primitive hash (#345)
* Calculate average by vaidhy * Calculate average by vaidhy * More changes * remove worker log * Pass -Dparellelism and switch back to open * Try out mmap * Improve mmap solution * no copy version * reduce threads * hash code computed on the fly * Reuse the char (Do not know if it helps) * primitive hash map * Primite HashMap * Micro optimizations to push for optimizations * Revert "Micro optimizations to push for optimizations" This reverts commit ea333e2821ebb5c1d6d71a4e87e569a8f2f8f7f0. * Micro optimizations to get the juice * floorMod fixes * findSemi and findNewLine as separate functions * Optimized parseDouble * More micro changes * Aligned equal check * more small changes * XOR instead of compare * Reduce loop length * Revert changes * Loop optimization and added native build * Hand unrolled findSemi loop. * Remove incorrect comments * Taking care fo PR comments * Add prepare script * Missing header error fix * remove wrong comment --------- Co-authored-by: Anita S V <anitasvasu@gmail.com> Co-authored-by: Anita SV <anitvasu@amazon.com>
Diffstat (limited to 'prepare_vaidhy.sh')
-rwxr-xr-xprepare_vaidhy.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/prepare_vaidhy.sh b/prepare_vaidhy.sh
new file mode 100755
index 0000000..f83a3ff
--- /dev/null
+++ b/prepare_vaidhy.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+#
+# Copyright 2023 The original authors
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+source "$HOME/.sdkman/bin/sdkman-init.sh"
+sdk use java 21.0.1-graal 1>&2