4 ms·
Python regex library does this, optionally
by seanc 8y ago
Python regex library does this, optionally
- daturkel 8y agoSimilarly, statistical distributions in SciPy can be used in "frozen" form (pre-parameterized) or in a more general form where you supply the parameters at the same time you are requesting some attribute it the distribution. Seems to me to be a situation where one is useful if you expect reuse, and the other is useful if you don't.