https://github.com/blutsvente/vlab_memoize
A Specman/e package that provides a memoization utility for methods
https://github.com/blutsvente/vlab_memoize
memoization memoize-decorator
Last synced: 4 months ago
JSON representation
A Specman/e package that provides a memoization utility for methods
- Host: GitHub
- URL: https://github.com/blutsvente/vlab_memoize
- Owner: blutsvente
- License: apache-2.0
- Created: 2013-02-23T16:35:37.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2021-11-30T07:59:39.000Z (over 3 years ago)
- Last Synced: 2025-01-12T05:27:01.590Z (6 months ago)
- Topics: memoization, memoize-decorator
- Language: E
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
A Specman/e package that provides a memoization utility for methods.
Given a pure method definition, e.g.
foo(a: uint): int { ... }
you can memoize it at the place of its definition by
MEMOIZE foo(a: uint): int { ... }
See also examples/test_memoize.e. You can also run demo.sh (might need adjustment to work with your Specman installation).