Releases: 1552980358/C2Pinyin
Releases · 1552980358/C2Pinyin
3.0.0
Release Version 3.0.0
- Here is the C2Pinyin Release 3.0.0 update.
Changes
- Detail big feature updates can be referred to previous 3.0.0-rc1 release
- On top of that:
- All bugs (that I can find) are fixed with testing
- In-source comment documents are mostly provided
- Unit tests are passed and provided as usage examples
README.md
is provided as guiding introduction
3.0.0-rc1
Release Version 3.0.0-rc1
Long time no see!
- This is the release of
3.0.0 Release Candidate 1
, which there are lesser bugs, and is preparing for the release of3.0.0
. The following pre-release works are all about documentation and new examples. Once the documents and examples are ready, version3.0.0
release will be published. - Added, I refactored the whole project with following several changes.
- Base64
- Encoding patterns and paddings are all stored as Base64 static constant strings for speeding up compilation time.
- Lazy load
- Encoding patterns and paddings holder fields are all implemented as lazy field, which the byte array will only be created when exact field is access, other than created when the class is accessed for better memory usage.
- Optimization
- The conversion and checking processes are optimized with simpler calculation that only consist of
int
, other than havingshort
when processing. - Reduce the usage of
IntArray
when getting bit mask
- The conversion and checking processes are optimized with simpler calculation that only consist of
- Dictionary
- Introduce of
Phase
andWord
as priority of word-pinyin conversion betweenWord
s andWord
. - Introduce of jumping -- not to convert into pinyin for that specific word.
- Introduce of
- Letter case
- Still available
- Temporary setting letter case for single conversion is also supported
- Single custom configuration / global configuration
- Both changing global configurations and local disposable configurations of dictionary and letter case are introduced
- Base64
2.3.3
Release 2.3.3
2.3.2
Release 2.3.2
2.3.1
Release 2.3.1
2.3.0
Release 2.3.0
2.2.1
Release 2.2.1
2.2.0
Release 2.2.0
2.1.1
Release 2.1.1
2.1.0
Release 2.1.0