> It's not that you couldn't make numarrays short circuit. In the > expression "a and b", if all the elements of a are false, then we > can skip evaluating b. I'm just not sure that this is a good idea. Whether it would be worth it would be application-dependent, i.e. it would only help if pre-scanning all the elements of a were cheaper enough than evaluating b. Probably not a good idea to make it the default behaviour. Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg at cosc.canterbury.ac.nz +--------------------------------------+
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4