Commit 9354563
authored
Make
Not returning a function can confuse some users (because they have strict checks for `FunctionType`). NumPy got away with this, but it could be one stumbling block.
NOTE(seberg): In the future, with some things moved to C, this could be a more significant overhead and we may want to consider optionally disabling it as an optimization (or more carefully checking how necessary it is and changing the default).@dispatchable return a function (#19)1 parent 40c9ff0 commit 9354563
2 files changed
Lines changed: 34 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
825 | | - | |
826 | | - | |
827 | | - | |
828 | | - | |
829 | | - | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
830 | 828 | | |
831 | 829 | | |
832 | 830 | | |
| |||
907 | 905 | | |
908 | 906 | | |
909 | 907 | | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
910 | 933 | | |
911 | 934 | | |
912 | 935 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
135 | 137 | | |
136 | 138 | | |
137 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
0 commit comments