red-data-tools / GR.rb

Ruby wrapper for the GR framework

Home Page:https://github.com/red-data-tools/GR.rb/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove GRCommons::GRCommonUtils.length(x)

kojix2 opened this issue · comments

GR.rb defines a length method that returns the size of a Ruby array, NArray, FFI:: MemoryPointer.
However, FFI:: MemoryPointer is rarely passed as an argument. At first I thought I needed this mechanism, but I may not. Shouldn't we remove the length method and simplify it?

done