githawkapp / flatcache Goto Github PK
View Code? Open in Web Editor NEWImplementation of Soroush Khanlou's Flat Cache.
Home Page: http://khanlou.com/2017/10/the-flat-cache/
License: MIT License
Implementation of Soroush Khanlou's Flat Cache.
Home Page: http://khanlou.com/2017/10/the-flat-cache/
License: MIT License
Ahoy there @rnystrom, while sifting through your nice collection of repos, I came across this one which I see is still being worked on and just wanted to comment a bit on this guy below.
FlatCache/FlatCache/FlatCache.swift
Line 71 in 5700835
I recently came across NSHashTable
and MSMapTable
and found their ideas to be quite useful then I tested it out and found some issues when using weak references within the tables such as the ones found in the link below and a few other places
A quick playground of testing out what others spoke about seems to hold true at least in terms of when the object within the table is released
http://cocoamine.net/blog/2013/12/13/nsmaptable-and-zeroing-weak-references/
Then I got a little curious when I saw your implementation of FlatCache from Soroush and was wondering (if you had freetime of course) to test out the usage of FlatCache and it working as expected? I like the idea that the tables provide the flexibility of using both strong and weak keys and values interchangeably but didn't seem to work as intended all the time.
Cheers to implementing FlatCache, I'll be lurking for its release ๐
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.