Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^5: A better implementation of LCSS? (Memoize)

by BrowserUk (Patriarch)
on Nov 18, 2015 at 21:52 UTC ( #1148065=note: print w/replies, xml ) Need Help??

in reply to Re^4: A better implementation of LCSS? (Memoize)
in thread A better implementation of LCSS?

Memoize() is only of benefit if you call the memoised function multiple times with the same arguments -- ie. when it can return the previously returned value instead of recalculating it.

Repeating the same test for a benchmark of a lcss() function makes for a totally artificial test.

Of course, you could also apply the memoisation to the XS version and you'd restore the differential.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^5: A better implementation of LCSS? (Memoize)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1148065]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2022-01-22 19:07 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (63 votes). Check out past polls.