#733: streamlined soak compilations and improved reference cachings

This commit is contained in:
satyr
2010-10-02 07:17:35 +09:00
parent 54f162e523
commit 341f511bbd
9 changed files with 459 additions and 409 deletions

View File

@@ -49,7 +49,7 @@ medalists contenders..., 'Tim', 'Moe', 'Jim'
ok last is 'Jim'
obj = {
obj =
name: 'moe'
accessor: (args...) ->
[@name].concat(args).join(' ')
@@ -58,7 +58,6 @@ obj = {
@accessor(args...)
index: 0
0: {method: -> this is obj[0]}
}
ok obj.getNames() is 'moe jane ted'
ok obj[obj.index++].method([]...), 'should cache base value'