Results of 1 - 10 of about 120 for best (0.003 sec.)
- timeit --- 小さなコードスニペットの実行時間計測 — Python 3.14.8 ドキュメント 13424
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » timeit --- 小さなコードスニペットの実行時間計測 テーマ 自動 ライト ダーク | timeit --- 小さなコードスニペ
...3 つの異なる式の時間を測定する方法を示しています。 $ python -m timeit "'-'.join(str(n) for n in range(100))" 10000 loops, best of 5: 30.2 usec per loop $ python -m timeit "'-'.join([str(n) for n in range(100)])" 10000 loops, best of 5: 27.5 usec per...loop $ python -m timeit "'-'.join(map(str, range(100)))" 10000 loops, best of 5: 23.2 usec per loop 同じ事を Python Interface を使って実現することもできます: >>> import timeit >>> timeit . timeit (...トアップ文を指定することが可能です: $ python -m timeit -s "text = 'sample string'; char = 'g'" "char in text" 5000000 loops, best of 5: 0.0877 usec per loop $ python -m timeit -s "text = 'sample string'; char = 'g'" "text.find(char)" 1000000 loops, bes... - https://man.mtool.work/python/3.14/library/timeit.html
- timeit --- 小さなコードスニペットの実行時間計測 — Python 3.14.8 ドキュメント 12604
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » timeit --- 小さなコードスニペットの実行時間計測 テーマ 自動 ライト ダーク | timeit --- 小さなコードスニペ
...3 つの異なる式の時間を測定する方法を示しています。 $ python -m timeit "'-'.join(str(n) for n in range(100))" 10000 loops, best of 5: 30.2 usec per loop $ python -m timeit "'-'.join([str(n) for n in range(100)])" 10000 loops, best of 5: 27.5 usec per...loop $ python -m timeit "'-'.join(map(str, range(100)))" 10000 loops, best of 5: 23.2 usec per loop 同じ事を Python Interface を使って実現することもできます: >>> import timeit >>> timeit . timeit (...トアップ文を指定することが可能です: $ python -m timeit -s "text = 'sample string'; char = 'g'" "char in text" 5000000 loops, best of 5: 0.0877 usec per loop $ python -m timeit -s "text = 'sample string'; char = 'g'" "text.find(char)" 1000000 loops, bes... - https://man.mtool.work/python/3.14/library/timeit.html
- zlib --- gzip 互換の圧縮 — Python 3.14.8 ドキュメント 9537
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ圧縮とアーカイブ » zlib --- gzip 互換の圧縮 テーマ 自動 ライト ダーク | zlib --- gzip 互換の圧縮 ¶ For applications that requ
...bytes object containing compressed data. level is an integer from 0 to 9 or -1 controlling the level of compression; See Z_BEST_SPEED ( 1 ), Z_BEST_COMPRESSION ( 9 ), Z_NO_COMPRESSION ( 0 ), and the default, Z_DEFAULT_COMPRESSION ( -1 ) for more info...トリームを圧縮するための圧縮オブジェクトを返します。 level is the compression level -- an integer from 0 to 9 or -1 . See Z_BEST_SPEED ( 1 ), Z_BEST_COMPRESSION ( 9 ), Z_NO_COMPRESSION ( 0 ), and the default, Z_DEFAULT_COMPRESSION ( -1 ) for more info...no longer than max_length . This may mean that not all of the compressed input can be processed; and unconsumed data will be stored in the attribute unconsumed_tail . This bytestring must be passed to a subsequent call to decompress() if decompressi... - https://man.mtool.work/python/3.14/library/zlib.html
- zlib --- gzip 互換の圧縮 — Python 3.14.8 ドキュメント 9537
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ圧縮とアーカイブ » zlib --- gzip 互換の圧縮 テーマ 自動 ライト ダーク | zlib --- gzip 互換の圧縮 ¶ For applications that requ
...bytes object containing compressed data. level is an integer from 0 to 9 or -1 controlling the level of compression; See Z_BEST_SPEED ( 1 ), Z_BEST_COMPRESSION ( 9 ), Z_NO_COMPRESSION ( 0 ), and the default, Z_DEFAULT_COMPRESSION ( -1 ) for more info...トリームを圧縮するための圧縮オブジェクトを返します。 level is the compression level -- an integer from 0 to 9 or -1 . See Z_BEST_SPEED ( 1 ), Z_BEST_COMPRESSION ( 9 ), Z_NO_COMPRESSION ( 0 ), and the default, Z_DEFAULT_COMPRESSION ( -1 ) for more info...no longer than max_length . This may mean that not all of the compressed input can be processed; and unconsumed data will be stored in the attribute unconsumed_tail . This bytestring must be passed to a subsequent call to decompress() if decompressi... - https://man.mtool.work/python/3.14/library/zlib.html
- annotationlib --- Functionality for introspecting annotations — Python 3.14.8 ... 9127
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » annotationlib --- Functionality for introspecting annotations テーマ 自動 ライト ダーク | annotationlib
...and other edge cases. This module supports retrieving annotations in three main formats (see Format ), each of which works best for different use cases: VALUE evaluates the annotations and returns their value. This is most straightforward to work wit...xpanded on various aspects of PEP 649 and introduced the annotationlib module. アノテーションのベストプラクティス provides best practices for working with annotations. typing-extensions provides a backport of get_annotations() that works on earlier v...per() ) or a functools.partial object, it is unwrapped until a non-wrapped function is found. Calling get_annotations() is best practice for accessing the annotations dict of any object. See アノテーションのベストプラクティス for more information on... - https://man.mtool.work/python/3.14/library/annotationlib.html
- annotationlib --- Functionality for introspecting annotations — Python 3.14.8 ... 9127
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » annotationlib --- Functionality for introspecting annotations テーマ 自動 ライト ダーク | annotationlib
...and other edge cases. This module supports retrieving annotations in three main formats (see Format ), each of which works best for different use cases: VALUE evaluates the annotations and returns their value. This is most straightforward to work wit...xpanded on various aspects of PEP 649 and introduced the annotationlib module. アノテーションのベストプラクティス provides best practices for working with annotations. typing-extensions provides a backport of get_annotations() that works on earlier v...per() ) or a functools.partial object, it is unwrapped until a non-wrapped function is found. Calling get_annotations() is best practice for accessing the annotations dict of any object. See アノテーションのベストプラクティス for more information on... - https://man.mtool.work/python/3.14/library/annotationlib.html
- 索引 — Python 3.14.8 ドキュメント 8506
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – Z z 文字列のフォーマットで z85decode() (base64 モジュール) z85encode() (base64 モジュール) Z_BEST_COMPRESSION (zlib モジュール) Z_BEST
... - https://man.mtool.work/python/3.14/genindex-Z.html
- 索引 — Python 3.14.8 ドキュメント 8506
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – Z z 文字列のフォーマットで z85decode() (base64 モジュール) z85encode() (base64 モジュール) Z_BEST_COMPRESSION (zlib モジュール) Z_BEST
... - https://man.mtool.work/python/3.14/genindex-Z.html
- Python support for the Linux perf profiler — Python 3.14.8 ドキュメント 8308
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python support for the Linux perf profiler テーマ 自動 ライト ダーク | Python support for the Linux perf profiler ¶ author : Pablo Galindo The Lin
...tuff () ...then: $ perf record -F 9999 -g -o perf.data python ./example.py $ perf report -g -i perf.data How to obtain the best results ¶ For best results, Python should be compiled with CFLAGS="-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" a...ions function start 目次 Python support for the Linux perf profiler How to enable perf profiling support How to obtain the best results How to work without frame pointers 前のトピックへ DTrace と SystemTap で CPython を測定する 次のトピックへ アノテー... - https://man.mtool.work/python/3.14/howto/perf_profiling.html
- Python support for the Linux perf profiler — Python 3.14.8 ドキュメント 8308
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python support for the Linux perf profiler テーマ 自動 ライト ダーク | Python support for the Linux perf profiler ¶ author : Pablo Galindo The Lin
...tuff () ...then: $ perf record -F 9999 -g -o perf.data python ./example.py $ perf report -g -i perf.data How to obtain the best results ¶ For best results, Python should be compiled with CFLAGS="-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" a...nvironment variable 目次 Python support for the Linux perf profiler How to enable perf profiling support How to obtain the best results How to work without frame pointers 前のトピックへ DTrace と SystemTap で CPython を測定する 次のトピックへ アノテー... - https://man.mtool.work/python/3.14/howto/perf_profiling.html