-
Does Java allow for creating byte arrays (each element is a single
8-bit addressable element)? -
If so, can JRuby create and access them like regular Ruby class Array
objects? (Ex: myarray = BArray.new; 10.times {|i| myarray << i} -
Is there an existing Java/JRuby library/gem that provides this for
JRuby?
I’m doing numerical processing where I really need boolean arrays (an
array of bits), but since most cpus are byte addressable I guess the
best I can get, and still perform as regular Ruby arrays, is byte
addressable arrays.