Why is BitArray faster than array of bools?

前端 未结 0 974
挽巷
挽巷 2021-01-07 07:16

I have this implementation of Sieve of Eratosthenes in C#:

public static BitArray Count()
{
    const int halfSize          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题