Alex Bertram
Alex Bertram
Well I'd say you're a pretty quick learner!!
I am doing some testing on R packages that I know suffer from the problem of large array initializers, it's looking good!
Re: excessive memory allocation. IIRC, the extra global variable (suffixed with $NNNN) are actually emitted by GCC as part of its strategy for compiling C functions with static local variables....
@jarrodmoldrich If it's just a problem with the runtime classes, we could probably configure gradle to produce a gcc-runtime-android.jar that simply excludes classes that rely on MethodHandles. The PosixThreads class...
@thorstenwagner this will also affect the compiled code. Need to do some research on what these functions are meant to do!
I tried to create a simple test case for these array descriptors and functions, but it seems that GCC basically compiled away my toy test case into a simple loop.
Sadly not! I wasn't able to create a minimal test case, so it's still not super clear in which contexts these functions are used. For variable length arrays? If you...
@psolaimani This is going to be an issue in glmnet as well.
@psolaimani internal_pack is here: https://github.com/gcc-mirror/gcc/blob/gcc-4_7_4-release/libgfortran/runtime/in_pack_generic.c. This function dispatches to generated implementations here https://github.com/gcc-mirror/gcc/blob/gcc-4_7_4-release/libgfortran/generated/in_pack_i16.c
Your "radians" method is a _static_ java method. If you want only to expose the static methods in RLangPApplet, then you use the following instead: this.renjinEngine.put("processing", RLangPApplet.class); On the other...