rogerkratz / mbcache Goto Github PK
View Code? Open in Web Editor NEWA memoization library for .net
License: MIT License
A memoization library for .net
License: MIT License
throws InvalidOperationException
Late bound operations cannot be performed on types or methods for which
ContainsGenericParameters is true.
Original issue reported on code.google.com by [email protected]
on 15 May 2012 at 12:52
This doesn't invalidate cache (only false does)
factory.Invalidate(obj, method => obj.CachedMethod(), true);
Original issue reported on code.google.com by [email protected]
on 18 Mar 2013 at 1:42
CacheKey should build on parameter _type_ and not by its name.
Currently there is a problem with caching these two kinds of methods...
interface IFoo
int Run(int a, int b);
int Run(string a, string b);
...Run("1", "2") will share cache with Run(1,2).
Original issue reported on code.google.com by [email protected]
on 29 May 2012 at 12:11
When caching methods with multiple arguments, multiple cache items will be
created.
Original issue reported on code.google.com by [email protected]
on 18 Mar 2013 at 1:40
As a complement to have one IMbCacheKey implementation for all entries,
allow different ones per cached method.
Original issue reported on code.google.com by [email protected]
on 18 Mar 2010 at 6:31
Instead of manually run them twice, fix it automatically.
Original issue reported on code.google.com by [email protected]
on 12 Apr 2012 at 3:53
CachedMethodInformation
is stored in CachedItem
which makes a cached method's argument to be cached as well => mem usage issue
When a cached method returns null, mbcache thinks that this entry does not
exist.
Original issue reported on code.google.com by [email protected]
on 12 Apr 2012 at 3:02
Add possibility to turn off/on caching of a component in runtime.
Original issue reported on code.google.com by [email protected]
on 30 May 2013 at 2:10
MbCache should log a warning if cache key of a parameter is the same as its
type. This normally indicates that user hasn't defined how this type should be
turned into a cachekey.
Original issue reported on code.google.com by [email protected]
on 14 Jun 2012 at 9:14
Will also, implicitly, make it possible to have different expirations set on different cached methods
Let user inject their own event listener instead.
Using null as a parameter to a cached method causes crash
Original issue reported on code.google.com by [email protected]
on 4 May 2010 at 1:37
Better out of the box support for caching this...
void CachedMethod(IEnumerable<Something> foo)
...based on the content of foo.
Original issue reported on code.google.com by [email protected]
on 18 Mar 2010 at 5:50
If caching say Foo.Bar(int) today, overloaded Foo.Bar(string) will also be
cached.
Original issue reported on code.google.com by [email protected]
on 26 Jun 2012 at 12:15
Fix either by...
* Allow user to choose to build proxies from interfaces or classes
* Build proxies from the interface instead
Original issue reported on code.google.com by [email protected]
on 20 Apr 2012 at 11:32
Make AspNetCache impl thread safe or, as an alternative, offer different impl
based on whether thread safe is impl is needed or not.
Original issue reported on code.google.com by [email protected]
on 25 Sep 2010 at 12:52
make sure methods like
class T
T Doit(T a, int b)
and
class Foo
int DoIt<T1, T2>(T1 a, T1 b)
will be cached correctly based on parameter values AND types.
Original issue reported on code.google.com by [email protected]
on 5 Jul 2012 at 2:01
Remove strong dependency to Castle DynamicProxy. Also, add possibility to use
other proxy fw
Original issue reported on code.google.com by [email protected]
on 13 Aug 2010 at 3:20
pushed failing test
NonVirtualMethodWithStateShouldWork
[deleted issue]
For performance reasons, make it possible to turn off statistics (micro
optimization though).
Original issue reported on code.google.com by [email protected]
on 27 Jun 2012 at 8:44
Will probably lower memory usage quite a bit
Now ArgumentException is thrown if IFoo is an mbcache unregistered type when...
factory.Create<IFoo>();
Original issue reported on code.google.com by [email protected]
on 15 May 2012 at 6:36
* Correct exception should be rethrown
* Correct stack trace should be preserved
Original issue reported on code.google.com by [email protected]
on 18 Jun 2012 at 2:27
Both
* when user invalidates something "bigger", like a complete type
* when cache entry expires
Original issue reported on code.google.com by [email protected]
on 6 Jan 2013 at 4:03
Having lots of cache entries result in huge memory usage because lots of long
cache key strings.
It should be easier to create shorter ones.
Original issue reported on code.google.com by [email protected]
on 9 Dec 2013 at 1:45
Make MbCacheFactory serializable, eg to be able to cache it to disc.
Original issue reported on code.google.com by [email protected]
on 10 Oct 2012 at 12:21
If an ISomething is configured on MbCache, make it possible to make such an
instance cacheable even if it's been created outside MbCache
Original issue reported on code.google.com by [email protected]
on 28 Feb 2014 at 3:06
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.