Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitab1eb18

Browse files
Qian WenjieQian Wenjie
Qian Wenjie
authored and
Qian Wenjie
committed
updated README
1 parentf7fd079 commitab1eb18

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

‎README.md‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
lazy-python
22
===========
33

4-
A Python Lazy Programming library.
4+
A Python lazy programming library with implicit parallel and other
5+
optimizations for Functional Programming.
56

67
Overview
78
-----------
@@ -12,6 +13,18 @@ is saved in directed graph and evaluated when necessary. The process
1213
of evaluation leverage multicore (``multiprocessing`` library in Python)
1314
and graph cut algorithm to compute the results in parallel.
1415

16+
Usage
17+
-----------
18+
19+
-*Lazy(func)*
20+
Return a new lazy function that don't do eager call. Use .eval() to
21+
compute the whole expression in parallel.
22+
-*@lazy*
23+
Useful decorator for function that want to be lazy in definition.
24+
-*Lazy.set_cores(num)*
25+
Set the actual CPU cores in parallel computing. The default value is
26+
*multiprocessing.cpu_count()*
27+
1528
Examples
1629
-----------
1730

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp