Help needed for improving the performance of a simple table-lookup-function (~hashing) in a chess-engine

It actually won’t be useful here. StaticArrays is only useful when you are doing math-like operations. For this use-case, the only thing you care about is the getindex speed.

2 Likes