<div dir="ltr"><div class="gmail_default" style="font-family:monospace">I'd like to know too. The API as is is not *complex*, but it is absolutely low-level. Having a class with a bunch of static utility methods (Vector"s"?) seems like the natural next step. And it's not just a desire for sugar, capturing intent leaves less room for error. And we don't need to be exhaustive here, just the most basic use cases.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 27, 2023 at 9:39 PM Sam Pullara <<a href="mailto:spullara@gmail.com">spullara@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span style="border:0px solid black;box-sizing:border-box;color:rgb(15,20,25);display:inline;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-kerning:inherit;font-feature-settings:inherit;font-stretch:inherit;font-size:17px;line-height:inherit;font-family:TwitterChirp,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;margin:0px;padding:0px;min-width:0px">Why were these kinds of operations not included as part of the Vector API? Seems like everyone is going to build them and they will be nearly identical:</span><div><font color="#0f1419" face="TwitterChirp, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif"><span style="font-size:17px"><br></span></font></div><div><a href="https://github.com/jbellis/jvector/blob/main/jvector-twenty/src/main/java/io/github/jbellis/jvector/vector/SimdOps.java" target="_blank">jvector/jvector-twenty/src/main/java/io/github/jbellis/jvector/vector/SimdOps.java at main · jbellis/jvector</a>  <font color="#0f1419" face="TwitterChirp, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif"><span style="font-size:17px"><br></span></font><div><font color="#0f1419" face="TwitterChirp, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif"><span style="font-size:17px"><br></span></font></div><div><font color="#0f1419" face="TwitterChirp, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif"><span style="font-size:17px"><br></span></font><div><span aria-hidden="true" style="border:0px solid black;box-sizing:border-box;color:inherit;display:inline;font-style:inherit;font-variant:inherit;font-kerning:inherit;font-feature-settings:inherit;font-weight:inherit;font-stretch:inherit;font-size:0px;line-height:0px;font-family:inherit;margin:0px;padding:0px;white-space:inherit;min-width:0px">http</span></div><div><span aria-hidden="true" style="border:0px solid black;box-sizing:border-box;color:inherit;display:inline;font-style:inherit;font-variant:inherit;font-kerning:inherit;font-feature-settings:inherit;font-weight:inherit;font-stretch:inherit;font-size:0px;line-height:0px;font-family:inherit;margin:0px;padding:0px;white-space:inherit;min-width:0px">r/blob/main/jvector-twenty/src/main/java/io/github/jbellis/jvector/vector/SimdOps.java</span><br></div></div></div></div>
</blockquote></div>