w, -word-regexp force PATTERN to match only whole words i, -ignore-case ignore case distinctions P, -perl-regexp PATTERN is a Perl regular expression G, -basic-regexp PATTERN is a basic regular expression (BRE) F, -fixed-strings PATTERN is a set of newline-separated fixed strings PATTERN is an extended regular expression (ERE) f FILE, -file FILE obtain PATTERN from FILE Webgrep -R example # will only grep on ALL images. Webgrep -r example # will only grep on LOCAL images. Webgrep example # will only grep on HTML code Important note: webgrep does not handle recursion (in other words, it does not PATTERN is a basic regular expression (BRE) use '-E' for extended (ERE) response HTTP headers are NOT included in grepping use '-include-headers' Search for PATTERN in each input URL and its related resources It binds nearly every option of the original tool and also provides additional features like deobfuscating Javascript or appyling OCR on images before grepping downloaded resources. This self-contained tool relies on the well-known grep tool for grepping Web pages. The setting should probably cause that information to be removed, assuming the overall design of the new feature makes that possible.WebGrep Grep Web pages and their resources. People who select full optimization for bytecode are, I would imagine, fully expecting to lose debugging info for the sake of saving space. Honestly, now that I think about it, that sounds like an oversight to me. opt-2.pyc which I assume corresponds to the -OO setting), docstrings would be removed, but apparently the error-location tracking info is not - so the same amount of new info is being attached to a smaller base. pyc generation at normal optimization level. My guess: the PEP calculation is based on. The PEP claimsĪs an illustrative example to gauge the impact of this change, we have calculated that including the start and end offsets will increase the size of the standard library’s pyc files by 22% (6MB) from 28.4MB to 34.7MB.īut OP is seeing them increase by more than 100%. Yes, that was OP’s initial lead but the size increases seem to be more than what OP expected. test_socket.py grew from 247K to 250K but. Test_typing.py grew from 180K to 280K but the. $ qlist -e dev-lang/python:3.11 | grep '.opt-2.pyc$' | wc -l $ qlist -e dev-lang/python:3.10 | grep '.opt-2.pyc$' | wc -l $ qlist -e dev-lang/python:3.11 | grep '.py$' | wc -l py files: $ qlist -e dev-lang/python:3.10 | grep '.py$' | wc -l I’ve just done that and the numbers suggest that all new. Is this change expected, or are we perhaps hitting some bug? However, it claims an estimated increase of 22% which is 5 times less than what we’re observing. When poking around, I’ve been pointed to PEP 657. py files distributed by CPython grew roughly by 3.5%, the size of. To confirm this, I’ve measured: $ qlist -e dev-lang/python:3.10 | grep '.py$' | xargs du -ab | awk '' We’ve been able to determine that this is primarily because. One of Gentoo users has noticed that CPython 3.11.3 as installed on Gentoo is significantly larger than CPython 3.10.11.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |