Re: BigDecimal API docs andd "reuse"




"Val" <valeriu.nedelcu@xxxxxxxxx> wrote in message
news:1119006178.092055.121800@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

> return new BigDecimal(BigInteger.valueOf(unscaledVal), scale);

BigInteger#valueOf(long) does cache however, so indirectly there is caching
going on :) You'll always get a new BigDecimal, but the BigInteger contained
within it will/might be reused.


.



Relevant Pages

  • Re: prepare_cached() unused in selectall_arrayref() et al
    ... In my case "prepare_cached" didn't scale up well, ... cache to be default and have an option to turn it off. ... Mark ... Prev by Date: ...
    (perl.dbi.users)
  • caching is application level or session
    ... I am using Output directive at page level for caching the page. ... If i refresh ... it does not comes from the cache.. ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: DataView, DataGrid and IsPostBack
    ... My point was that you already cache it, but you do not assign it to the ... ListView everytime. ... then maybe caching is not a ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re[2]: [PHP] dynamic -> static
    ... As I wrote already this issue is mainly because of search engines ... incompatibility with dynamic content sites (to be more exact - with ... You can cache your code using PHP Accelerator or Turck ... MM> implementing a caching layer between your application and your database. ...
    (php.general)
  • Re: [PHP] Aggressive PHP Smart Caching
    ... i have begun to experiment w/ your caching tool. ... it is also important that the script calling ob_end_flushhave access to ... the header method in the first bit of code in the cache tool. ...
    (php.general)