This blog post is going to be about the c++ keyword mutable, it is also going to go into using mutable for data caching. To motivate this I am going to give an example from python. If I have a class with a property which is expensive to compute I want to cache it and only recalculate it when necessary. Continue reading ‘Mutable and Data Caching’
Recent Posts
Archives
Tag Cloud
autogenerate bash bitbucket c++ c++11 caching cd cmd code command line curiously-recurring-template-pattern cygwin design pattern emacs first functional games git github gui hangman hello world hg keyword LaTex linux lisp make maths mercurial pdf pdflatex Perl premake prime primes python standards style template testing tkinter tools UnitC++ unittest version controlCategories
- C++ (12)
- C++11 (6)
- Code (16)
- CodeProject (15)
- Command Line (2)
- Design Patterns In Python (6)
- Functional (1)
- Games (2)
- GUI (1)
- LaTex (2)
- Lisp (1)
- Make (2)
- Maths (2)
- Note (1)
- Perl (2)
- premake (1)
- Python (11)
- Style (1)
- Testing (3)
- Tkinter (1)
- Uncategorized (3)
- UnitC++ (1)
- Utility (4)
- Version Control (1)
Copyright
© 2013 by David Corne.

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.