JuliaArrays / JuliaArrays/StaticArrays.jl

Static BitArray

Open
#412 9 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Julia
Stars
844
Forks
159
Avg merge
3d 21h
Merged PRs (30d)
3

Description

Since this hasn't really been brought up before, I would like to suggest the possibility of Static BitArrays. In particular, since the performance of static arrays relative to regular arrays are so closely tied to their size, the space optimization afforded by BitArrays may allow much larger arrays to reap performance gains.

For example, a bitboard for Chess would require only 64 bits, so it could fit in a single register, discounting overhead.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue proposes static BitArrays for compact, high-performance bitboards, but names no files, tests, or implementation entry points. Start by reviewing the existing StaticArrays design and how BitArrays are represented in Julia. Done would require an agreed design and implementation scope for static bit arrays, including the stated 64-bit bitboard use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.