Thank you for writing this excellent book. I have been literally speaking living with your book since its publication.
I wonder how to remove element(s) from the HashMap in your Memoizer class? How about clear operation on the hash map? Question is how this can be done using a non-blocking algorithm as you have demonstrated in Memoizer class.
For an industrial-strength version of the functionality we describe in Memoizer, including the ability to remove elements and clear the map, see MapMaker#makeComputingMap in Google's Guava libraries.
3 comments:
Thank you for writing this excellent book. I have been literally speaking living with your book since its publication.
I wonder how to remove element(s) from the HashMap in your Memoizer class? How about clear operation on the hash map? Question is how this can be done using a non-blocking algorithm as you have demonstrated in Memoizer class.
In advance, thank you very much.
For an industrial-strength version of the functionality we describe in Memoizer, including the ability to remove elements and clear the map, see MapMaker#makeComputingMap in Google's Guava libraries.
And thank you for the kind words!
Post a Comment