Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- some speed up of the core PropertySet iterators

  • Loading branch information...
commit a827d612c17542f6d8494a8b777087609a1f2005 1 parent 58842a5
nickolay authored
View
30 .project
@@ -5,6 +5,36 @@
<projects>
</projects>
<buildSpec>
+ <buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value>&lt;project&gt;/.externalToolBuilders/New_Builder.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>auto,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value>&lt;project&gt;/.externalToolBuilders/Joose - dzil build.launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>LaunchConfigHandle</key>
+ <value>&lt;project&gt;/.externalToolBuilders/New_Builder (1).launch</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
</natures>
View
2  Changes
@@ -6,6 +6,8 @@ Release history for Joose:
- switched to Dist::Zilla for distribution management
+ - some speed up of the core PropertySet iterators
+
[API CHANGES]
-none-
View
3  Components.JS
@@ -50,5 +50,6 @@ COMPONENTS = {
"Joose.Namespace.Manager"
]
-}
+
+}
View
4 TODO
@@ -18,7 +18,7 @@ TASKS
- inter-op with NodeJS
-- test Joose.O helpers
+- test Joose.O helpers (partially done)
- add exception for inheritance from nothing ( isa : null )
@@ -72,7 +72,7 @@ OPTIMIZATION
REFACTORING POSSIBILITIES
=========================
-- rewrite the core in more functional style (should give noticeable speed-up for class mutations, as there will be no 'unApply' stage -
+- rewrite the core in more functional style - remove 'unApply' stage (should give noticeable speed-up for class mutations, as there will be no 'unApply' stage -
we'll just clear the prototype and the re-apply it from scratch, plus - we'll also receive a noticeable reduce of the codebase)
View
9 lib/Joose/Managed/Bootstrap.js
@@ -2,13 +2,4 @@ Joose.Managed.Bootstrap = new Joose.Managed.Role('Joose.Managed.Bootstrap', {
does : [ Joose.Namespace.Able, Joose.Managed.My, Joose.Managed.Attribute.Builder ]
-// ,
-//
-// before : {
-//
-//// initialize : function () {
-//// Joose.Meta.Object.prototype.initialize.call(this, {})
-//// }
-// }
-
}).c
View
13 lib/Joose/Managed/PropertySet.js
@@ -57,23 +57,16 @@ Joose.Managed.PropertySet = new Joose.Proto.Class('Joose.Managed.PropertySet', {
//includes inherited properties (probably you wants 'eachOwn', which process only "own" (including consumed from Roles) properties)
each : function (func, scope) {
- scope = scope || this
-
- Joose.O.each(this.properties, function (property, name) {
- func.call(scope, property, name)
- })
+ Joose.O.each(this.properties, func, scope || this)
},
eachOwn : function (func, scope) {
- scope = scope || this
-
- Joose.O.eachOwn(this.properties, function (property, name) {
- func.call(scope, property, name)
- })
+ Joose.O.eachOwn(this.properties, func, scope || this)
},
+ //synonym for each
eachAll : function (func, scope) {
this.each(func, scope)
},
Please sign in to comment.
Something went wrong with that request. Please try again.