__offset()method is not fast enough.
- for get a varaible may need to calls
__offset()method many times.
- Add has set method for flatbuffer file.
- Add member variables cache (include array variables).
Flatbuffer is very fast from flatbuffer instream to avaliable object, but
__offset() is very slow, so very frequently invoked almost not recommended. I tested 100,000 times
__offset(), consuming greater than 50ms, but Java object directly accesse the same time only need 2~3ms. So such tool is come, but you need to pay attention to the increase of the GC.