[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
JAVA
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 9
Thread images: 2
File: laughingwhores.jpg (77 KB, 600x536) Image search: [Google]
laughingwhores.jpg
77 KB, 600x536
https://github.com/groovy/groovy-core/blob/master/src/main/org/codehaus/groovy/runtime/ArrayUtil.java
>>
>>55099968
C is the best
>>
File: 1464664740355.png (6 KB, 415x416) Image search: [Google]
1464664740355.png
6 KB, 415x416
>>55099968
looks like an optimization desu
>>
Hey at least it's automatically generated, there's some worst stuff in a similar vein to this in the Clojure compiler/runtime that's maintained by hand.
>>
Isn't this where a competent dev would use currying?
>>
>>55099992
If they had meta programming, none of that shit would be needed.
>>
>>55099992
i was right :^)

>* The purpose is the reduction of the size of the bytecode.

>* The number of needed instructions is thus reduced from 15 to 4. For every entry we save 3 bytecode instructions.
* This allows better readable bytecode and it allows the JIT to see less bytecode to optimize, helping under the
* inlining threshold here or there.
* So even though the class is ugly, there are good reason to have this in Groovy, even if the class makes
>* absolutely no sense in normal Java. But it is not used in normal Java, but from the bytecode.
>>
>>55100024
Obviously. That is why I condone this practice, please replicate.
Noice.
>>
>>55100024
>using the smiley with a carat nose
Thread replies: 9
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.