-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimized the most common use-case likely with Topiarist (verifying a…
…rguments using isA()) so that it's now ~2.5 times slower than doing the same check manually, rather than being ~25 times slower, as was the case before. To achive this I did have to relax the argument checking performed, but this actuallly resulted in the browser throwing a clearer error message than what Topiarist was producing anyway.
- Loading branch information
Showing
3 changed files
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "topiarist", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"author": "kybernetikos <[email protected]>", | ||
"description": "Topiarist provides tree and shape-based type verification for JavaScript.", | ||
"main": "./lib/topiarist.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters