Re: prepare_cached() unused in selectall_arrayref() et al



On 2005-12-17, David Manura <dm.list@xxxxxxxxx> wrote:
> Why do the higher-level DBI methods such as selectall_arrayref()
> internally use prepare() rather than prepare_cached()? or at least why
> is there no option to enable that? It seems that the only way to
> utilize DBI's internal statement handling caching is to directly call
> prepare_cached(), but managing that is not as convenient or transparent
> as just using the higher-level methods such as selectall_arrayref().

I think I had a "use case" to address this:

http://www.mail-archive.com/dbi-users%40perl.org/msg24261.html

In my case "prepare_cached()" didn't scale up well, and I needed to turn
it off. However, I probably had an edge case. Maybe it makes sense to
cache to be default and have an option to turn it off.

Mark

--
http://mark.stosberg.com/

.



Relevant Pages

  • Re: BigDecimal API docs andd "reuse"
    ... > return new BigDecimal(BigInteger.valueOf(unscaledVal), scale); ... BigInteger#valueOfdoes cache however, so indirectly there is caching ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Re: PVPCWC Results
    ... be harder to clue than normal. ... Surely the setter could be free to pick a voting system of their ... than one occasion on which I received marks on the 100 point scale ... But someone giving an 'appropriate' mark on a 100pt ...
    (rec.puzzles.crosswords)
  • Re: Washburn J3
    ... Hey Mark, I've been ranting about this same stuff here for years. ... It's 24.75" scale ... & 2 have mahogany necks, ... I could be wrong on that as I wasn't buying guitars back then. ...
    (rec.music.makers.guitar.jazz)
  • Re: Whats this technique?
    ... length these issues, from discussing with sober internalists, like Mike ... Mark - Just.. ... Mmm and the Goldberg scale is named after you. ... The Richman scale, while it's specificity is a 'trolling' scale, also implies the imploding necessity to drag threads to the 'richman' as opposed to the topic. ...
    (rec.martial-arts)
  • Re: OWA does not load up, Loading stays on screen
    ... "Mark Fulton" schreef in bericht ... > should also delete the ISA Cache. ... >> Microsoft SBS-MVP ... If I access OWA remotely, the icons look funny, folders are not ...
    (microsoft.public.windows.server.sbs)