README.md in lru_redux-0.0.2 vs README.md in lru_redux-0.0.3
- old
+ new
@@ -43,23 +43,23 @@
see: benchmark directory
```
sam@ubuntu:~/Source/lru_redux/bench$ ruby ./bench.rb
Rehearsal ---------------------------------------------------------
-thread safe lru 27.940000 0.020000 27.960000 ( 28.000938)
-lru gem 2.300000 0.000000 2.300000 ( 2.305732)
-lru_cache gem 1.960000 0.010000 1.970000 ( 1.975683)
-lru_redux gem 1.710000 0.000000 1.710000 ( 1.704134)
-lru_redux thread safe 2.830000 0.000000 2.830000 ( 2.837608)
------------------------------------------------ total: 36.770000sec
+thread safe lru 27.640000 0.370000 28.010000 ( 28.049021)
+lru gem 2.460000 0.000000 2.460000 ( 2.454292)
+lru_cache gem 2.170000 0.000000 2.170000 ( 2.174306)
+lru_redux gem 1.530000 0.020000 1.550000 ( 1.552481)
+lru_redux thread safe 2.610000 0.070000 2.680000 ( 2.684895)
+----------------------------------------------- total: 36.870000sec
user system total real
-thread safe lru 27.740000 0.000000 27.740000 ( 27.756163)
-lru gem 2.250000 0.000000 2.250000 ( 2.252772)
-lru_cache gem 1.960000 0.000000 1.960000 ( 1.963679)
-lru_redux gem 1.710000 0.000000 1.710000 ( 1.712147)
-lru_redux thread safe 2.750000 0.000000 2.750000 ( 2.752526)
+thread safe lru 28.170000 0.280000 28.450000 ( 28.465008)
+lru gem 2.330000 0.000000 2.330000 ( 2.328316)
+lru_cache gem 2.140000 0.000000 2.140000 ( 2.142749)
+lru_redux gem 1.640000 0.000000 1.640000 ( 1.643732)
+lru_redux thread safe 2.590000 0.000000 2.590000 ( 2.600422)
```
## Contributing
@@ -70,8 +70,13 @@
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
## Changlog
-###verson 0.0.2 - 23-April-2013
+###version 0.0.2 - 23-April-2013
- Added .clear method
+
+###version 0.0.3 - 23-April-2013
+
+- Added .max_size= so you can resize caches on demand
+- Added implemented using arrays for extra perf