Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2 README #29

Merged
merged 3 commits into from
Jan 17, 2022
Merged

#2 README #29

merged 3 commits into from
Jan 17, 2022

Conversation

meian
Copy link
Owner

@meian meian commented Jan 16, 2022

  • README.ja.md からほぼGoogle翻訳で良さそう
    • ただし一部単語の調整とか行う
  • bench/README.mdも作成する

@meian meian added the documentation Improvements or additions to documentation label Jan 16, 2022
@meian meian self-assigned this Jan 16, 2022
@meian
Copy link
Owner Author

meian commented Jan 16, 2022

TopのREADMEのGoogle翻訳からの手動修正箇所

  • gcf
    • synthesize => composite
  • Motivation
    • mechanism => functions
    • synthesize => composite
    • multiple processes => processes
  • Example
    • processing speed => performance
  • Environment
    • See below => 後方だったのを前方に持ってきた
  • Installation
    • Installtion method => Installtion
  • Design
    • Implementation by Iterator => Implements by Iterator
    • configured => designed
    • coordinate => composite
    • Some processes may make additional memory allocations internally => Some processes may allocate memory internally
    • Each function in gcf has an interface for Iterable[T] => Each function returns Iterable[T]
    • Iterator[T] moves the element that can be obtained from the collection by MoveNext() to the next element, and gets the element at the current position by Current(). => Iterator[T] moves the element position that collection returns by MoveNext() to next, and gets current element by Current().
    • Iterator[T] moves the element that can be obtained from the collection by MoveNext() to the next element, and gets the element at the current position by Current(). => Iterator[T] moves the element position next by MoveNext(), and gets current element by Current().
    • The operation is synthesized by Iterable[T], and the state is held only in the Iterator[T] generated from it, which makes it easy to reuse the generated operation. => Functions is composited by Iterable[T], and the state is keep only in the Iterator[T], which makes it easy to reuse the generated composition.
    • In the implementation of the Iterator pattern => In Iterator implementation
    • you may see an implementation of a combination of processes => you may see set of functions
    • we adopted the implementation => we implemented
    • returns its success or failure => returns move result
    • we wanted to take advantage of being able to get the value multiple times without changing the state => we took advantage to get current value multiple times without changing
    • providing the ability to check for the next element without changing the state => providing next check without changing
    • so that it can be handled by the method chain => so that we can use method chain
    • but the collection processing provided by gcf is implemented by top-level functions => but we implemented by top-level functions
    • the processing can be maintained consistently. Because there is no such thing. => the processing cannot be maintained consistently.
    • the processing can be maintained consistently. Because there is no such thing. => the processing cannot be maintained consistency.
    • If it becomes possible to define => If it is implemented to define
  • Function
    • Provided => Implemented
    • Function Comments => function comments
    • The following functions are provided => The following functions are implemented
    • Scheduled to be provided in the future => To Be
    • Returns the collection in reverse order => Returns in reverse order
    • Makes the elements of the collection unique and returns => Returns unique elements
    • If the conversion result is a slice or iterator, return it as a one-dimensional iterator. => Maps and returns flatten iterator

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@meian meian force-pushed the 2-readme branch 2 times, most recently from cc9b9cc to e1fb2cc Compare January 17, 2022 18:05
@meian
Copy link
Owner Author

meian commented Jan 17, 2022

bench/READMEのGoogle翻訳からの手動修正箇所

  • BenchmarkFilter_Volumes
    • the number of filters to be applied => the number of filters
    • for the measurement results => for results
    • the number of processing of Iterator => the number of processing
  • BenchmarkFilter_Compare
    • By arranging => By comparing
    • The contents of the logic are as follows => The logic is as follows
    • The source is => The Iterable source is
    • Search for non-zero elements with 13 remainders, 11 remainders, and 7 remainders => Finds elements whose 13 remainder, 11 remainder, and 7 remainder are non-zero
    • The contents of the benchmark are as follows => The target of the benchmark is as follows
    • The result of each remainder calculation by the external function is controlled by if => The result of each remainder calculation by the external function by if statement condition
    • Performs the remainder calculation directly under the condition of if => The result of each remainder calculation by if statement condition directly
    • only on channel and goroutine (?) => only channel and maybe goroutine
    • for the measurement result => for results
    • the processing time is incomparable to the inline evaluation => the processing time is too slow incomparable to the inline evaluation
    • about four times => about 4 times
    • shorter than adopting a channel => shorter than using a channel
    • when only one CPU core is used is placed in => when 1 CPU core is used is shown in

bench/README.md Outdated Show resolved Hide resolved
bench/README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@meian meian marked this pull request as ready for review January 17, 2022 18:16
@meian
Copy link
Owner Author

meian commented Jan 17, 2022

Closes #2

@meian meian merged commit 172daf1 into main Jan 17, 2022
@meian meian deleted the 2-readme branch January 17, 2022 18:19
@meian meian changed the title README #2 README Jan 19, 2022
@meian meian linked an issue Jan 19, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

README
1 participant