mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@cs.put.poznan.pl>
Subject Re: Flattened arrays of simple structures (valuetype-like classes).
Date Fri, 25 Mar 2011 20:44:52 GMT
Do you mean running with assertions enabled in production or having
hardcoded, explicit ifs/throws? Just curious.

Dawid

On Fri, Mar 25, 2011 at 9:29 PM, Ted Dunning <ted.dunning@gmail.com> wrote:
> That is why I prefer the default, even in production, to be to check.  Not
> checking should be the (very) special case where there are obscure reasons
> to know that the access is correct that
> the optimizer can't see.
>
> On Fri, Mar 25, 2011 at 12:17 PM, Dawid Weiss <dawid.weiss@cs.put.poznan.pl>
> wrote:
>>
>> The difference in speed may be marginal since newer hardware/hotspot will
>> predict those branches almost never take place and probably discard them.
>

Mime
View raw message