-
Notifications
You must be signed in to change notification settings - Fork 95
Should formula columns implicitly convert primitive arrays via unbox and/or widening? #1301
nbauernfeind
started this conversation in
Ideas
It is possible to support an implicit conversion of the following ideas:
public void foo(double[] values);
// implicit widening emptyTable(1).update("F = foo(new float[] {})") // implicit unboxing emptyTable(1).update("F = foo(new Double[] {})") // implicit unboxing and widening emptyTable(1).update("F = foo(new Float[] {})")
The biggest concern is the need to allocate a destination array and convert on every invocation. The biggest benefit is the ease of use and the consistency with the other implicit conversions that DH performs on behalf of the user.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment