Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Does it store the location of things in the cache if $doc->index_locations is called?
    • No it doesn't.

      The document is cached ONLY at the instant that it is loaded. Otherwise what exists in the cache would not be deterministic. There could be all sorts of crap appear in the document you weren't expecting when you loaded it.

      That said, ->index_locations isn't _too_ expensive to do per-load. It's only expensive if you needed to do it per ->location call.