Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 49.594.819 Times

Micro-cache: memoize/cache function results 1.0

  Date Added: June 14, 2013  |  Visits: 193

Micro-cache: memoize/cache function results

Report Broken Link
Printer Friendly Version


Product Homepage
Download (39 downloads)



This is a lightweight mechanism to memoize results of functions that are often repeatedly called with the same arguments. It is indended for small-scale situations -- i.e., the function is called only with a small variety of arguments, for example less than 100, and the arguments (as well as results) are not too big (e.g., no large matrices or data sets). If too many different calls are to be cached, hlp_microcache "forgets about" the oldest ones. Its memory is also lost after MATLAB is closed or after typing "clear all". Different places of a program can independently memoize results of their functions, by calling hlp_microcache with their own unique 'domain' identifier. The overhead is in the ballpark of MATLAB's num2str(), i.e., very low.Example:% if this line is executed for the first time, it is as slow as magic(2000)m = hlp_microcache('test',@magic,2000);% if it is executed a second time, it is ca. three orders of magnitude faster than m=magic(2000)m = hlp_microcache('test',@magic,2000);

Requirements: No special requirements
Platforms: Matlab
Keyword: Calling Clear Domain Identifier Independently Overhead Typing Unique
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


MICRO-CACHE: MEMOIZE/CACHE FUNCTION RESULTS RELATED
Networking Tools  -  DNS Benchmark 1.2.3925.0
DNS Benchmark is a unique, comprehensive and accurate application to determine the exact performance of local and remote DNS nameservers. This DNS Benchmark will give you visibility into what's going on with your system's currently assigned DNS...
164 KB  
Development Tools  -  conv2fft_reuse 1.0
Sometimes you have to perform multiple related convolutions, using the same data but different kernels. This function allows you to reuse intermediary results. When computing the convolution via multiplication in the frequency domain, we reuse the...
10 KB  
Libraries  -  Locale::TextDomain 1.16
Locale::TextDomain is a Perl Interface to Uniforum Message Translation. SYNOPSIS use Locale::TextDomain (my-package, @locale_dirs); use Locale::TextDomain qw (my-package); my $translated = __"Hello World!n"; my $alt = $__{"Hello...
460.8 KB  
Database Tools  -  Directory Server NT Authentication Module 2.0.3
Directory Server NT Authentication Module provides a plugin allowing LDAP authentication via an NT domain account. The Directory Server NT Authentication Module project is made of two parts: The first is a simple daemon which takes an NT users...
1.7 MB  
Cookie and Cache Managers  -  #1 Smart Protector Pro - Internet Eraser 5.5
Smart Protector Pro is an easy to use software that protects your privacy by erasing all the traces of your Internet activity automatically. It completely erases your Internet Explorer history, cookies, temporary files(cache), typed URLs(the drop...
429.69 KB  
Programming  -  plone.app.ldap 1.2.3
plone.app.ldap provides a user interface in a Plone site to manage LDAP and Active Directory servers. This package succeeds the simplon.plone.ldap package. It builds on the functionality provided by LDAPMultiPlugins,...
30.72 KB  
Modules  -  Universally Unique IDentifier 7.x-1.0-alpha2
Generate Universally Unique IDentifier (UUID) for Drupal objects.Current features include: * Automatic UUID generation/loading/deleting for nodes, node revisions, users and taxonomy. * Allow choosing which content types and vocabularies to create...
10 KB  
Web Searching Tools  -  Domain Quester Pro 6.02
Search for domains by unlimited number of keywords. Input unlimited number of words that relate to your business interests and these exact terms will be used as "root words" in an extensive search for available domain names. Choosing ".net without...
424.53 KB  
Web Searching Tools  -  Domain Quester 6.02
Search for domains by unlimited number of keywords. Input unlimited number of words that relate to your business interests and these exact terms will be used as "root words" in an extensive search for available domain names. Choosing ".net without...
424.53 KB  
Training Tools  -  Touch Typing Technology test beta
Test your touch typing skills with this cool, short test! Learn to type now with a fast and easy software! unique program- guarantees excellent results! Touch Typing Technology has been training people to touch type since 1984. During this time,...
5.41 MB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB