Better HN
topnewbestaskshowjobs
Log inSign up

plokhotnyuk

7 karma · joined Mar 9, 2024 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

What an amazing step by step explanation!

More than 2 years ago I found that byte array view var handles are quite suitable to cook efficient SWAR routines with Java/Scala.

See a lot of other examples of SWAR usage, like parsing Base16/64 strings, java.time.* and number values directly from byte arrays:

https://github.com/plokhotnyuk/jsoniter-scala/blob/master/js...