Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MbReflection's SimpleConv should be optimized #201

Open
VladUreche opened this issue Apr 7, 2015 · 0 comments
Open

MbReflection's SimpleConv should be optimized #201

VladUreche opened this issue Apr 7, 2015 · 0 comments

Comments

@VladUreche
Copy link
Member

Right now it's going through boxing:

t.as[Int] => conversion(minibox2box(..., t)).as[Int]

the conversion and as should be eliminated and the code should be:

t.as[Int] => minibox2int(t)

https://github.com/miniboxing/miniboxing-plugin/blob/wip/components/runtime/src/scala/MbReflection.scala#L132-L138

@VladUreche VladUreche added this to the 0.4 milestone Apr 7, 2015
@VladUreche VladUreche self-assigned this Apr 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant